I created a helloCordova project via Cordova CLI, and added some debug info to native code:
DLog('This is a debug info');
But the debug info is never outputted.If I use ALog, the info can be outputted, so I think it probably has something to do with the "DEBUG" macro.
After I added "DEBUG=1" to "Preprocessor Macros", ran the helloCordova target, DLog can be outputted.
So here is my question:
Should we add "DEBUG=1" to iOS template project->"Build Settings"-> "Preprocessor Macros" ->"Debug" ?