Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5520

Use .xcconfig file for adding/tweaking settings in the default template

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 4.0.0
    • Component/s: cordova-ios
    • Labels:

      Description

      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" ?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shazron Shazron Abdullah
                Reporter:
                glmnbeyond glmnbeyond
              • Votes:
                2 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: