Archives not showing up in Organizer for Xcode 4

前端 未结 20 2073
轮回少年
轮回少年 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:58

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

    0 讨论(0)
  • 2020-11-28 19:00

    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.

    0 讨论(0)
  • 2020-11-28 19:00

    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.

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

    0 讨论(0)
  • 2020-11-28 19:01

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

    0 讨论(0)
  • 2020-11-28 19:02

    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!

    0 讨论(0)
  • 2020-11-28 19:03

    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.

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