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


For the impatient

If you don’t want/don’t have time to read the full story, you should at least consider using the following build settings during your iOS development cycle (i.e. for non-release builds):

  • Use plain “DWARF” instead of “DWARF with dSYM File” as your “Debug Information Format”.
  • Don’t compile your project code or use static libraries compiled with -O4 since it tells Clang to enable Link Time Optimizations (LTO) making the linking stage much slower. Use -O3 at most.

These changes were recently incorporated to our iOS codebase and made quite a big difference.

View original post 1,227 more words