Xcode creates an archive instead of IPA

I am trying to create an ipa file (Product-> Archive-> Share), but Xcode only creates the archive.

It worked well a few days ago. I always got ipa working, but now I can not get it to create ipa (when I click on share in the archive, I can not sign the code). I added a subproject to the main project in a few days (CorePlot-CocoaTouch). I'm not sure if this could be related.

+5
source share
6 answers

If you added a static library, they will be installed by default. This is not suitable for iPhone applications. Go to the project file and select the target of the static library. In the section, Build Settingsgo to the section Deploymentand change the setting Skip Installto YES. Starting with Xcode 4, it is now used by default NO, which will damage your IPA (since the only binary you can install legally is the application’s binary code itself).

You may need to switch from view Basicto view Allto see this option.

+13
source

, , , , . Project .

, , " " > " " " ".

+8

, , , , , ( xcode 6.0.1)

enter image description here

+2

XCode 5 , " ". Xcode 2 1 Generic Archive. , , git!

0

, , , . , , . , .

0

If you include a project that creates a static library, try checking the "copy only on installation" option. This stopped Xcode from including a static library inside my application archive. I used Xcode 6.3.2.

0
source

All Articles