I\'m trying to create an IPA in Xcode 4, much like the person who asked this question:
Xcode 4: create IPA file instead of .xcarchive
So--I got my Archive co
This is based on another answer from a similar question which can be found at Archive does not appear in xcode4 organizer
I take no credit for this answer, but this together with the suggestions from Ron fixed the problem for me.
For the "Release" configuration do the following:
Set "Skip Install" to YES on your project
Set "Skip Install" to NO on your application target
Set "Skip Install" to YES on all static library targets that are included
Choose Product -> Archive from the menu.
This also worked for me, and according to the original answer poster, is based on advice from the Apple Dev Forums.
In my case none of the solution worked, instead it was a simple cause: folder permissions. Make sure staff group has: Read & Write permissions.
EDIT (Incorporated all comments to a single answer)
Try one of the following (or all)
Instead of using Build For -> Archive, in the product menu just use archive. It will show up then.
In the scheme editor, edit the scheme and go to the Archive tab, make sure the check box for show in Organizer is checked.
In the archive tab in the scheme editor check the build configuration used for archiving. Make sure it has the right entitlements file & certificates.
In the build settings switch Skip Install -> Release to NO, for the build settings used for archiving.
Make sure the archives folder and XCode project files are inside the same shared folder if network drive is used. I took me a few days to finally figure this out as I placed my XCode source files from a Windows shared folder, but the Archives folder is on the local Mac, which caused archives not picked up by Organizer.
Thanks to @Smikey & @Ralph B & @Scott McMillin
One more thing to check: Search for the "Installation Directory" in your Build Settings (All) and make sure it's set to "/Applications".
I had a similar issue where the distribution compiled and signed fine, but never showed up in the Archive tab. Turns out I needed to attach a device to get it to build a "real" iOS build. Once I attached my device, I ran Product -> Archive and it showed up as expected.
It turns out that when I upgraded my existing product, I didn't have all the icons listed in the Info.plist.
So I added both the "Icon files" and "Icon files (iOS 5)" to the .plist. And it worked!