Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 690
Luke Pistrol Avatar asked Oct 08 '16 15:10

Luke Pistrol


1 Answers

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.

like image 65
invoodoo Avatar answered Oct 12 '22 13:10

invoodoo