Debug Symbols On Release Build Without DEBUG


#1

How do you turn on debug symbols (OS X) for the release build without turning on debug?  If I enable debugging in the Introjucer, it also sets DEBUG and _DEBUG so that all of my debugging statements print out.  I read in previous posts that the default was to not strip the symbols, but that does not seem to be the case. Is there a configuration file somewhere that sets the defaults for the introjucer?

​​


#2

For future use.  To enable -> under Custom Xcode flags:

GCC_GENERATE_DEBUGGING_SYMBOLS = YES,STRIP_INSTALLED_PRODUCT = NO,COPY_PHASE_STRIP=NO