Xcode archiving an iOS application as a Mac application

I have an iOS application that I have built several times over the past year, and deployed countless custom builds with no problems. However, Xcode decided today that when archiving my application, it should consider it as a Mac App Store application, and not create an .ipa file that I can provide.

Git does not display any changes in my .xcodeproj files, and I do not see the changes that have been changed. I have other goals in the project that are still building perfectly, but the main goal I use for distribution is the one that causes these errors. Is there a reason Xcode should think that it is building a Mac application instead of the iOS version that it is used to?

+6
source share
2 answers

Check if you accidentally made your part of Info.plist your goal. It should not be. Uncheck the Target Membership panel or remove it from the build phase of the copy resources.

(Found the answer to this question: My iPhone application is archived as “Mac Application Archive” and not “iOS Application Archive” .

+16
source

You may be missing a version number. Select the project in the file browser, then select the target application and view the Summary tab. If the version number is missing, add it and see if that helps.

0
source

Source: https://habr.com/ru/post/910647/


All Articles