Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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.

like image 887
user1090937 Avatar asked Dec 10 '11 06:12

user1090937


People also ask

What is dSYM file Xcode?

~/Library/Developer/Xcode/DerivedData/<build id>/Build/Products/<build type>/appname.dSYM. A dSYM file is an ELF file that contains DWARF (debugging with attributed record formats) debug information for your application. DWARF is a debugging file format that supports source-level debugging.

What is the use of dSYM file?

Role of dSYM (Debug SYMbol) dSYM files store the debug symbols for our app. It contains mapping information to decode a stack-trace into readable format. The purpose of dSYM is to replace symbols in the crash logs with the specific methods names so it will be readable and helpful for debugging the crash.


1 Answers

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.

like image 81
fundead Avatar answered Dec 20 '22 22:12

fundead