问题
Today I tried to archive and upload a App to iTunes Connect Beta Testing.
Xcode stays at the point "Copying Swift standard libraries" for about 10 minutes.. Two days ago it just were some seconds.. The CPU runs at 100% an the Fan is really really loud. it never did that before..
Then I try to upload it to the AppStore using the Organizer. But it stays ridiculously long at "Preparing Archive - Codesigning libswiftAVFoundation.dylib..."
I left it over night and it still was at the same spot.. I really don't know what to do. I need to upload this build as soon as possible.... Please help me somebody..
Edit: my setup: MacBook Pro Retina 13 2014, macOS 10.12.1 Beta
回答1:
I found the solution:
- Open Keychain
- Search for AppleID certificates (I found 1300+ of them)
- Delete all of them
Enjoy your fast-blast building with Xcode 8+! It seems like this is an issue with automatic signing feature from Xcode8.
回答2:
Right click your Archive and select "Show" in Finder Then again right click on the resulted file in Finder and select "Show Package Contents" Then from the result open the product folder --> Application folder --> and select the ".app" file Then simply add this .app file under apps of iTunes software on Mac After completing the adding process right click on the app icon in iTunes and show in Finder, which will give you the iPA file.
来源:https://stackoverflow.com/questions/39934254/xcode-8-preparing-archive-takes-forever