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?
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
- How to keep project available after changing the location of imported project?
- (custom) UITableViewCell's mixing up after scrolling
- Does a mutating struct function in swift create a new copy of self?
- Reading data (embedded plist) linked to executable through -sectcreate __TEXT
- UnauthorizedAccessException: Access to the path is denies Ios
- iCloud incremental data
- UICollectionView, simply fit cell to width?
- How do I check where my app is using IDFA
- Where to store data in iphone?
- Can't cast from Dictionary value to Array
- Generate non-repeating, no sequential numbers
- Swift Google Directions API JSON – EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
- iOS 7 – is there a way to disable the swipe back and forward functionality in Safari?
- add Shadow on UIView using swift 3
- What are the sizes used for the iOS application splash screen?