I'm sure you realize this is an Xcode thing. As such, Google offers
lots of info:
http://stackoverflow.com/questions/1540322/xcode-setting-gcc-preprocessor-definitions-for-different-build-configurations

by default when you build it builds for the Debug config, which has
this macro set.

If you do a `cordova build --help` you can see one of the options is
`--debug` or `--release`.



On Sun, Jan 31, 2016 at 2:41 PM, Shane MacPhillamy
<sh...@blinkmobile.com.au> wrote:
> I'm developing a plugin for iOS Cordova. I've created an iOS Cordova 
> application project using the Cordova CLI tools. I would like to enable the 
> debug macros defined in CDVDebug.h with the -DDEBUG compiler flag. Is there a 
> way I can do this from within Xcode when I have the Cordova project open in 
> Xcode?
>
> Cheers, Shane
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
> For additional commands, e-mail: dev-h...@cordova.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to