cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csantanapr <>
Subject [GitHub] cordova-ios pull request: CB-9719 set enable_modules build setting...
Date Sat, 03 Oct 2015 23:44:21 GMT
Github user csantanapr commented on the pull request:
    I did some investigation today, I found the reason why putting 
    in build.xcconfig doesn't get reflected, is because build.xcconfig is for Project, not
the Target, the Project file is set to Yes, and Project file has higher precedence than Project
    For the variable assingment to be able to work it needs to be set in Target's release/build
or extras xcconfig
    There is another value that also fixes our problem with a framework referring to a non-module
header/class from CordovaLib
    From looking at all levels in XCode, it looks like the iOS Platform default is:
    But XCode 7 when it creates a new projects, overwrites the default of one of them to CLANG_ENABLE_MODULES
    It might be safer to set 
    which I think is more closer to the compile error that we are getting, and maybe has less
side effects.
    By Google Power I discover this page, explains variable assignment precedence:
    What you all think?
    And what would be the best to assign it? Project (build.xcconfig) or Target (build-debug.xcconfig
and build-release.xcconfig)
    We could use extras but I would like to leave extra empty for the developer/user to overwrite
values from Target and Project xcconfig programmatically

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message