26

The step is repeated when I stop the application and hit run again, even if no code or other changes have been done to the project. This is frustrating as I'm working on a large codebase and the step takes a long time, killing iteration times.

If anyone has any pointers for where to look to determine why this step is done on every run, it would be appreciated.

3
  • are you "building for testing" or "building for running" or archiving or? And in your scheme, in the "Test" section, are you testing with the "Release" or "Distribution" version of the app or the "Debug" version of the app? Dec 10, 2011 at 6:46
  • I'm building for running, and I'm building and testing the "Debug" version of the app. I'm also running on an actual device (not the simulator), if that makes a difference. Dec 10, 2011 at 6:54
  • Did you ever figure out if this can be turned off? Jan 16, 2012 at 4:31

2 Answers 2

55

In your project's Build Settings, under Build Options there's the Debug Information Format fields for debug and release - change the appropriate one from 'DWARF with dSYM file' to just 'DWARF'. This should cut your build times down, however it is removing the file that contains debug symbol information about the build.

5

I noticed you can launch your app yourself and attach the debugger. This skips that step. My project isn't large enough for this dSYM step to take longer than 2 seconds yet (but I've already noticed it go up to this 2 second mark now that I am linking in a sizable static library).

Furthermore, here on Xcode 4.6.3, I see an option to run without building. In my limited testing it appears to skip all build-related steps.

enter image description here

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.