I am having strange problems with the following preprocessor commands
Code:
#if TARGET_IPHONE_SIMULATOR || defined(DEBUG) || (!defined(NS_BLOCK_ASSERTIONS) && !defined(NDEBUG))
return;
#endif
when compiled in release mode and run on the device, I still hit the return code, and the debugger check is effectively disabled.
If I comment out the return statement
Code:
#if TARGET_IPHONE_SIMULATOR || defined(DEBUG) || (!defined(NS_BLOCK_ASSERTIONS) && !defined(NDEBUG))
// return;
#endif
then the debugger check is executed.
Anyone else have this issue?