Xcode 8: Preparing Archive takes forever

半腔热情 提交于 2019-12-28 08:37:44

问题


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:

  1. Open Keychain
  2. Search for AppleID certificates (I found 1300+ of them)
  3. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!