Luke Pistrol
Luke Pistrol

Reputation: 1209

Xcode 8: Preparing Archive takes forever

Today I tried to archive and upload a App to iTunes Connect Beta Testing.

enter image description here

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

enter image description here

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

Upvotes: 33

Views: 13632

Answers (2)

Vinod Mahale
Vinod Mahale

Reputation: 374

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.

Upvotes: -3

invoodoo
invoodoo

Reputation: 3906

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.

Upvotes: 45

Related Questions