cordova-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CB-6438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14178530#comment-14178530
] 

Gorkem ERCAN edited comment on CB-6438 at 10/21/14 3:37 PM:
------------------------------------------------------------

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-xcode


was (Author: gercan):
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: https://issues.apache.org/jira/browse/CB-6438
>             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:
> https://issues.apache.org/jira/browse/CB-3967



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message