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.
~/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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With