'Can clang build executables with "dsym" debug information?

According to technical note 2123, in xcode you can build executables with "dsym" debug information, which puts the debug info in a separate file (instead of embedding it in the executable). We're building our apps from the command line, instead of using xcode directly - is there a way to tell clang to do this on the command line?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source