user1090937
user1090937

Reputation: 305

XCode: "Generating dSYM file" step is repeated on every application run

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.

Upvotes: 26

Views: 21775

Answers (2)

Steven Lu
Steven Lu

Reputation: 43427

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

Upvotes: 5

fundead
fundead

Reputation: 1329

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.

Upvotes: 56

Related Questions