Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
678 views
in Technique[技术] by (71.8m points)

ios - 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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

EDIT (Incorporated all comments to a single answer)

Try one of the following (or all)

  1. Instead of using Build For -> Archive, in the product menu just use archive. It will show up then.

  2. In the scheme editor, edit the scheme and go to the Archive tab, make sure the check box for show in Organizer is checked.

  3. In the archive tab in the scheme editor check the build configuration used for archiving. Make sure it has the right entitlements file & certificates.

  4. In the build settings switch Skip Install -> Release to NO, for the build settings used for archiving.

  5. 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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...