Reputation: 5123
Xcode is taking about 7 minutes to run my build my app on my phone. I am having this problem with 3 different apps all with Fabric and CocoPods installed. I have turned Optimization
to none. The only common cocopod is Alimo fire. Below are my custom shell scripts:
It is becoming a huge pain to test anything on my device. I can run errands and be back home before it finishes building. I have on a mac pro so system resources are not the issue. Thanks!
Edit 1
It looks like the [CP] Embed Pods Framewords
is taking the longest
Upvotes: 3
Views: 3096
Reputation: 5123
It had over 1200 appleid certificates, so it was taking a while to sign the cocopods. To fix:
Open keychain
Click Certificates
Search appleid
Select all CMD-A
Press delete
Reference: XCode 7.3.1 hangs on "copying swift standard libraries"
Upvotes: 4
Reputation: 1771
I had the exact same problem.
To fix it check the box for "Run script only when installing" in Target - Build Phases - Run script
Upvotes: -1
Reputation: 23398
Upvotes: 1