cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gorkem ERCAN (JIRA)" <>
Subject [jira] [Commented] (CB-6438) Characters breaking Xcode project file for plugin.xml compiler-flags
Date Tue, 21 Oct 2014 15:38:34 GMT


Gorkem ERCAN commented on CB-6438:

node-xcode is missing the quotes when persisting the object. I think needs to be fixed there.
[~anis] may have a better idea of node-code

> Characters breaking Xcode project file for plugin.xml  compiler-flags
> ---------------------------------------------------------------------
>                 Key: CB-6438
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugman
>    Affects Versions: 3.4.0
>         Environment: iOS
>            Reporter: Chris Ewald
> Extend compiler-flags to support more characters
> In plugin.xml:
> I would like to set the compiler-flags value to "-std=gnu99".:
> {code:xml}
> <source-file src="src/ios/CDVdbcamera.m" compiler-flags="-std=gnu99" />
> {code}
> Upon adding this plugin to a fresh cordova project using the cli `cordova plugin add
myplugin`, the Xcode project file breaks and will not open (Xcode 5.1).
> I found that compiler-flag value with just A-Za-z characters works and I can verify the
value flowed through to the Xcode project build settings page.
> {code:xml}
> <source-file src="src/ios/CDVdbcamera.m" compiler-flags="lettersonly" />
> {code}
> After some inspection, I found that the 'space' character and the '=' character will
cause the Xcode project file to become inoperable.
> Add support for non-letter characters in the compiler-flags attribute?
> I'm using the standard apache cordova 3.4.1 project template . This has the default project
build style setting to the c99 setting which does not work for some source files I am compiling
in this plugin. I can fix this all by setting the cordova project style setting to gnu99.
I thought to use the compiler-flags setting to fix this so this plugin would remain portable
across projects.
> Original Feature here:

This message was sent by Atlassian JIRA

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

View raw message