How to find out if device is running in debug mode?

How to find out if device is running in debug mode?

Hi there,

in Xcode I can set different "Preprocessor Macros" for debug, release and test flight apps. If I set DEBUG=1 for the debug build, I could use

#ifdef DEBUG ... #endif

in ObjectiveC. But how can I find out in MOE that the device is running in debug mode?

Thanks in advance.

 

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.