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

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2.0
    • 4.0.0
    • cordova-ios

    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

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

              Dates

                Created:
                Updated:
                Resolved: