DWARF is the debug information format and the dSYM file is a package containing debug symbols.For example, if you have a library libfoo.dylib, the debug symbol file would be libfoo.dylib.dSYM.sing DWARF with dSYM strips debug symbols from the executable and places them into a separate dSYM file. Using the DWARF option keeps debug symbols in the executable instead of separating them into a separate dSYM file.You generally want to use the DWARF with dSYM option for release builds because otherwise, debug symbols get shipped with the executable if they are turned on, so turning off dSYM generation by switching to the DWARF option is not a fix, it just masks the problem. Switching to use DWARF masks the problem because it does not separate debug symbols, whereas DWARF with dSYM uses the strip and dsymutil commands, and it is typically these commands that tend to fail when there is malformed stuff in the binary. Failure on dSYM creati
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: