Archives not showing up in Organizer for Xcode 4

前端 未结 20 2070
轮回少年
轮回少年 2020-11-28 18:12

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

相关标签:
20条回答
  • 2020-11-28 18:51

    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.

    0 讨论(0)
  • 2020-11-28 18:51

    In my case none of the solution worked, instead it was a simple cause: folder permissions. Make sure staff group has: Read & Write permissions.

    0 讨论(0)
  • 2020-11-28 18:54

    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

    0 讨论(0)
  • 2020-11-28 18:54

    One more thing to check: Search for the "Installation Directory" in your Build Settings (All) and make sure it's set to "/Applications".

    0 讨论(0)
  • 2020-11-28 18:55

    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.

    0 讨论(0)
  • 2020-11-28 18:56

    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!

    0 讨论(0)
提交回复
热议问题