Xcode 7.3.1 Hangs on "Copying Swift Standard Libraries"

Xcode 7.1 hangs while archiving swift ios app

For anyone else facing the same issue. After trying and failing everything else, it was fixed by restarting the mac :D

XCode 8 Stuck on Running 2 of 4 Custom Shell Script

It had over 1200 appleid certificates, so it was taking a while to sign the cocopods. To fix:

  1. Open keychain

  2. Click Certificates

  3. Search appleid

  4. Select all CMD-A

  5. Press delete

Reference: XCode 7.3.1 hangs on "copying swift standard libraries"

With Swift 5 and iOS 12.2+ should I change Always Embed Swift Standard Libraries to NO?

The default for new projects is NO and (as far as I know) always has been. I have never had "Always embed" set to YES, and my projects have always worked just fine. So unless there is some really good reason why this was YES, it probably shouldn't have been.

Note that the libraries are stripped out only if you are building against the 12.2 SDK and going onto a machine with 12.2 (or later). The libraries are still needed to run on a 12.1 or earlier machine.

XCode 8.0 app building ultraslow

So... i finally snapped and deleted all my Apple ID keys (except 1 key pair) from my Keychain (was terrified about breaking things).
Now everything builds quickly / normally and i can finally be happy again...

Just to reiterate – make sure you don't have duplicate keys in Keychain.



Related Topics



Leave a reply



Submit