I am trying to create an ipa file (Product->Archive->Share) but Xcode produces just archive file.
It worked well few days ago. I was always getting working ipa but now I can't make it to produce ipa (when I click on share in archive I can't sign the code). I have added subproject into main project within few past days (CorePlot-CocoaTouch). I am no one hundred sure it can relates.
If you've added a static library, they get installed by default now. This is not okay for iPhone applications. Go to the project file and select the static library's target. Under Build Settings
, go to the Deployment
section and change the Skip Install
setting to YES
. Since Xcode 4, it is now NO
by default, which will break your IPA (since the only binary you can install legally is the application binary itself).
You may have to switch from the Basic
view to the All
view to see this setting.
Since the answer that worked for me is buried in the comments, I thought I'd bring it to the top. In my case, changing the header files for the static library to Project fixed the issue.
To do this, select your library target, then go to Build Phases > Copy Headers and move the header files from Public to Project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With