xcode ios project taking long time to compile and

2019-04-09 03:51发布

问题:

My application is taking very long time around 10 minutes to compile and run on simulator. The application was running fine initially however after adding SUP static library it is taking very long time to build.

xcode version:4.6

I have tried resetting the simulator and restarting the machine

Please help.

回答1:

As I answered to a similar question, I wrote an extensive blog post about how I improved iOS development cycle at Spotify:

Shaving off 50% waiting time from the iOS Edit-Build-Test cycle

It boiled down to:

1) Stop generating dSYM bundles.

2) Avoid compiling with -O4 if using Clang.