Archives not showing up in Organizer for XCode 4
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 completing successfully–supposedly. It dumps .xcarchive files for the project in its destination folder. But these archives don’t show up in my Organizer window. So I can’t share them as described in the above question to create the IPA.
There are no errors in the archiving process–they seem to be signed OK. So why aren’t the archives showing up in the archive panel on the Organizer? Is there some step I’m missing…or obscure setting I need to modify?
- Why is addSubview: not retaining the view?
- Why iOS coordinate system is difficult to understand?? only me?
- Is it possible to remove the form assistant in the mobile safari virtual keyboard?
- IOS Xcode Verifying Xcode.app
- Arrange 3 UIButtons(of equal width) side-by-side
- how to GET or POST multipart data request in PHP
18 Solutions Collect From Internet About “Archives not showing up in Organizer for XCode 4”
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
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.
I had the same problem… I had mistakenly set “Installation Directory” (
INSTALL_PATH) to an empty string in my Build Settings. Removing this setting and using the default
/Applications solved my issue.
One more thing to check:
Search for the “Installation Directory” in your Build Settings (All) and make sure it’s set to “/Applications”.
Yes! Finally. I too was stuck on this for 2 days!
I should have checked here first!
Skip Install … moved it to NO and it worked!
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.
Thanks for all the advice. I finally ended up with my archive using the skip install yes for the project and no for the targets. Thank you so much. Compared with others, this only took me about 3 hours, but I wish I would have found this thread earlier (now it’s 1.45 am).
None of the suggestions here worked for me, including setting “Skip Install” to NO… until I set “Installation Directory” to something other than the blank default value. (I used “/Applications” but other values like “/usr/bin” would be fine too.) Then lo and behold, it worked!
I have facing the same issue in my project. After archiving my project, organizer window in not open. So i had done this. And it will works for me. Hopefully it will helps you.
- Select your project -> In the build settings switch Skip Install -> Release to NO, for the build settings used for archiving.
After that you can archive your project properly.
Thanks in advance.
Same problem ! And resolved 🙂
I add this into my info.plist file:
create a new property “Bundle versions string, short” and provide the same version number as for “Bundle version” property. (Thanks to Rahul Choudhary, in his post “XCode 4 Archive Version Unspecified”)
I tried them all and still nothing worked.
Then I reconnected my iPad, reselected
Skip Install = NO for release and archive
…Build failed for code sign
Reselected Scheme iPad, rather than simulator
Not sure this will work for anyone else, but I’ve have just spent 5 hours going thru all the hints, and tripped up on this success. I don’t think it clears it up, and hope Apple gets this squared away. In the year 2011, this is just absurd.
In my case, none of the standard options listed in the first answer worked. I noticed that “installation paths” was empty. I nicely created 4 paths: /Dbg, /Dbg/Ins, /Rel and /Rel/Ins and set the 4 directories (build debug, install debug, build release and install release) to the 4 newly created directories. I also set the famous “skill install” option to no in all 4 instances (product & target, debug & release). I then ran a product > clean and product > archive. Eh Voila. The release now showed up in the archives section of the organizer. Hope this helps others.
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!
Had the same problem in Xcode 4.6.1 but with the twist that the Archive did show quickly in the Organizer window but suddenly disappeared.
Solved this problem by commenting out the last two lines:
echo "Moving Archive: $ARCHIVE_PATH to $PROJECT_DIR" #rm -rf "$PROJECT_DIR/XX.xcarchive" #mv -f "$ARCHIVE_PATH" "$PROJECT_DIR/XX.xcarchive"
This via “Product – Scheme – Edit Scheme – Archive – Post Actions”.
In my case none of the solution worked, instead it was a simple cause: folder permissions.
Make sure staff group has: Read & Write permissions.
Thanks to the OP and everyone on this thread.
I had the same issue, but had a different solution.
If you keep your archives on an external drive, and if the drive happens to get disconnected for some reason, in /Volumes the drive may be remounted at “DRIVENAME 1” instead of “DRIVENAME”. Everything looks normal except in the /Volumes folder, you’ll see a file with the name DRIVENAME. Disconnect your drive properly, rmdir the DRIVENAME file and reconnect.
The drive will connect under its original name and Xcode will be able to see everything again.
Spent about 5 hours on that. ㅠㅠ
i think it not really big a problem
archive does not appear if your using simulator
it was easily fixed by selecting your device in the edit scheme,
then click archive in the archive tab
no complicated steps
- Detecting which audio track is playing on device in iOS Swift
- Adding strings localization files from a server
- How do you update the app icons and launch images to support IOS 6 and 7 simultaneously?
- Safari web view opening when logging to FB through iOS 9
- CGImageRelease: : message sent to deallocated instance
- Apple Watch pre-build action to change storyboard customModule references
- Getting Index of an Object from NSArray?
- Xamarin iOS memory leaks everywhere
- xcode Provisioning File not found with Jenkins
- NSInternalInconsistencyException', reason: 'Could not load NIB in bundle while fetching 500+ records from the address book database
- There is no IOS certificate with ID xxxxxxxxxx on this team
- How to use UITextView in UIAlertController
- Swift – iOS – Dates and times in different format
- Remove an element in an array without hard-coding the index? in Swift
- Swift CoreData: error: Serious application error. Exception was caught during Core Data change processing.