cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Keable (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-4994) Cordova prepare SyntaxError
Date Tue, 26 Nov 2013 11:21:40 GMT

    [ 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)

Mime
View raw message