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
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".
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).
Thanks.
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.
Thanks in advance.
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. ㅠㅠ
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 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 Build succeeded.
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.