Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Slow app compilation with new Sierra update

When I updated my mac to macOS Sierra 10.12.1 time of running application on real device significantly increased. "Run custom script 'Embed Pods Frameworks'" and "Copy Swift standard libraries" take more then 30 minutes to build.

Do someone face the same issue?

like image 544
psu Avatar asked Oct 26 '16 09:10

psu


1 Answers

Check your keychain. After updating to Sierra to 10.12.1, I had over 500 copies one of my certificates, and a few others were duplicated a few hundred times.

I removed all the duplicates and kept just one of each, and my code signing time went from 30 seconds per framework down to about 1 second per.

I don't know how or why the certificates were duplicated, but the timing of the issue suggests it was due to updating Sierra.

like image 138
Troy Avatar answered Oct 04 '22 18:10

Troy