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

Matthew Keable commented on CB-4994:
------------------------------------

Jacob. I had my project under version control so I just reverted it.

The other option is to manually edit the project.pbxproj file and remove the 
System Capabilities section which looks like this (Use the line number given in 
the error message to find it)

SystemCapabilities = {
    com.apple.BackgroundModes = {
        enabled = 0;
    };
};

> Cordova prepare SyntaxError
> ---------------------------
>
>                 Key: CB-4994
>                 URL: https://issues.apache.org/jira/browse/CB-4994
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.1.0
>         Environment: Xcode 5, mac 10.8.5, cordova 3.1.0-0.1.0
>            Reporter: pushandplay
>            Assignee: Braden Shepherdson
>            Priority: Blocker
>              Labels: build
>         Attachments: Screen Shot 2013-10-09 at 8.31.20 PM.png
>
>
> After modify project in Xcode (change icons, capabilities and localisation 
> language) can not prepare project with command "cordova prepare" and catch 
> error in console
> $ cordova prepare
> { name: 'SyntaxError',
>   message: 'Expected "/*", "=" or [A-Za-z0-9_] but "." found.',
>   line: 382,
>   column: 11 }



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to