i'm developing plugin ios cordova. i've created ios cordova application project using cordova cli tools. enable debug macros defined in cdvdebug.h -ddebug compiler flag. there way can within xcode when have cordova project open in xcode?
answering own question xcode: setting gcc_preprocessor_definitions different build configurations? talks preprocessor options. additionally:
- debug logging nslog in cdvcommandqueue , cdvlocalstorage set controlled other_flags = -ddebug in cordovalib.xcodeproj file. setting can found typing search box in “build settings” pane.
- debug logging nslog in cdvuseragentutil , cdvwebviewdelegate controlled uncommenting // #define verboselog nslog , commenting #define verboselog(...) {} while (0)
- by default cordova build command has --debug option in play sets flag -ddebug.
Comments
Post a Comment