Copying Swift Standard Libraries

Xcode 8.1 gets stuck (takes 4-5 mins) on "copying swift standard libraries" whenever I try to run my app on a device. Can you guys suggest any solution? Thanks.

Answered by burdman in 193715022

Ok, I think i got it.


I just tried this:

http://stackoverflow.com/questions/39934254/xcode-8-preparing-archive-takes-forever

  1. Open Keychain
  2. Search for AppleID certificates (I found 1300+ of them)
  3. Delete all of them


I had 1,642 com.apple.idms.appleid.* certificates. I removed them all and now it is taking about 10 seconds to build. I hope this works for you too aidev!

What is the build number of your Xcode v8.1?


What computer are you using w/Xcode? How much ram and ssd/hd free space?

Please someone help me. I have 36.000 certificates and my keychain is not even working, is using insane amount of RAM and it loads too slow, I can't delete nothing because it's too slow. Is there any command that I can use to force delete everything inside it?

Nothing works for me, I have two small swift files in my project and it makes it takes about 2 minutes to compile even if I don't touch the swift files. Archiving and uploading probably 10 min. It slows down everything significantly.

I tried to remove certificates already but I only had a couple of duplicates.

Any other ideas?

burdmans answer works on xcode 8.3 swift 3.1

This doesn't work for me on Sierra and Xcode 9.

Copying Swift Standard Libraries
 
 
Q