[jira] [Commented] (CB-4994) Cordova prepare SyntaxError

2013-11-26 Thread Matthew Keable (JIRA)

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


[jira] [Commented] (CB-4994) Cordova prepare SyntaxError

2013-11-20 Thread Jacob Arnold (JIRA)

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

Jacob Arnold commented on CB-4994:
--

Is there a way to recover from this once it has happened to a project?

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


[jira] [Commented] (CB-4994) Cordova prepare SyntaxError

2013-11-08 Thread Chris Emerson (JIRA)

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

Chris Emerson commented on CB-4994:
---

Thanks so much for the update Braden. If you're looking for votes I vote for a 
new release because the "other option" isn't as clear/standard procedure for 
me! 

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


[jira] [Commented] (CB-4994) Cordova prepare SyntaxError

2013-11-08 Thread Braden Shepherdson (JIRA)

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

Braden Shepherdson commented on CB-4994:


These will be in the next Plugman and CLI release, which we don't have firm 
plans for. Our only guideline for releasing the tools is "no more frequently 
than once a week",  and it's been 11 days. I can do a release today, I suppose, 
since we have at least one important fix in master.

The other option is to run master CLI and Plugman, the commands necessary for 
which are found in the README. That'll be mirrored and rendered on 
[Github|https://github.com/apache/cordova-cli] eventually, but for now see 
[Apache 
git|https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;a=blob;f=README.md;h=d246cf9de898a472c57cd13969936949aceef0ba;hb=HEAD].

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


[jira] [Commented] (CB-4994) Cordova prepare SyntaxError

2013-11-08 Thread Chris Emerson (JIRA)

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

Chris Emerson commented on CB-4994:
---

+1 for needing this update. My ios builds are failing for a similar, if not the 
same, problem. (SyntaxError message: 'Expected "/*", ...)

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


[jira] [Commented] (CB-4994) Cordova prepare SyntaxError

2013-11-01 Thread Jon Tancer (JIRA)

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

Jon Tancer commented on CB-4994:


Cool, how do we access this update? Will it be available in the next point 
release? If so, what does the time frame look like?

> 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: Dmitry D
>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)


[jira] [Commented] (CB-4994) Cordova prepare SyntaxError

2013-11-01 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-4994:
-

Commit 4b8c6a213a7273a2bc82621fde67d916548a020b in branch refs/heads/master 
from [~shepheb]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=4b8c6a2 ]

[CB-4994] Update xcode dependency to parse Xcode 5 capabilities.


> 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: Dmitry D
>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)


[jira] [Commented] (CB-4994) Cordova prepare SyntaxError

2013-11-01 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-4994:
-

Commit 5529958098f36517b53fe69efc1208bb42afb7ef in branch refs/heads/master 
from [~shepheb]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=5529958 ]

[CB-4994] Update xcode dependency to handle Xcode 5 capabilities.


> 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: Dmitry D
>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)


[jira] [Commented] (CB-4994) Cordova prepare SyntaxError

2013-10-21 Thread Jon Tancer (JIRA)

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

Jon Tancer commented on CB-4994:


I am having a similar issue as stated by the OP.  In my case I am using Cordova 
3.0.9 and I have added (and then turned off) the keychain sharing capability in 
xcode.

> 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: Dmitry D
>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)


[jira] [Commented] (CB-4994) Cordova prepare SyntaxError

2013-10-16 Thread Oleg (JIRA)

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

Oleg commented on CB-4994:
--

I am getting the same error as Dmitry. Have added (and then turned off) push 
notification capability in xcode.

> 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: Dmitry D
>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)


[jira] [Commented] (CB-4994) Cordova prepare SyntaxError

2013-10-09 Thread Andrew Grieve (JIRA)

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

Andrew Grieve commented on CB-4994:
---

Verified repo steps:

{code}
cordova create foo org.foo.foo foo
cd foo
cordova platform add ios
cordova plugin add --verbose org.apache.cordova.device
open platforms/ios/foo.xcodeproj/
{code}

Then, add the Maps capability (see screenshot)

{code}
agrieve@agrieve-macbookpro ~/tmp/foo$ cordova plugin add --verbose 
org.apache.cordova.splashscreen
Calling plugman.fetch on plugin "org.apache.cordova.splashscreen"
Fetching plugin from "org.apache.cordova.splashscreen"...
Fetch is reading plugin.xml from location 
"/var/folders/00/0_32r000h01000cxqpysvccm0018cb/T/org.apache.cordova.splashscreen/package/plugin.xml"...
Copying from location 
"/var/folders/00/0_32r000h01000cxqpysvccm0018cb/T/org.apache.cordova.splashscreen/package"
 to location "/Users/agrieve/tmp/foo/plugins/org.apache.cordova.splashscreen"
Calling plugman.install on plugin 
"/Users/agrieve/tmp/foo/plugins/org.apache.cordova.splashscreen" for platform 
"ios" with options 
"{"www_dir":"/Users/agrieve/tmp/foo/platforms/ios/.staging/www","cli_variables":{}}"
Starting installation of "org.apache.cordova.splashscreen" for ios
Installing plugin org.apache.cordova.splashscreen
Beginning processing of action stack for ios project...
Parsing ios project files...
Parsing iOS project files...
undefined
agrieve@agrieve-macbookpro ~/tmp/foo$ echo $?
1
{code}

> 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: Dmitry D
>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)


[jira] [Commented] (CB-4994) Cordova prepare SyntaxError

2013-10-03 Thread Dmitry D (JIRA)

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

Dmitry D commented on CB-4994:
--

only when turn on capabilities in Xcode 5

$ cordova prepare --verbose
cordova library for "ios" already exists. No need to download. Continuing.
Wrote out iOS Bundle Identifier to "com.xxx.xxx"
Wrote out iOS Bundle Version to "22"
iOS Product Name has not changed (still "xxx")
Calling plugman.prepare for platform "ios"
Preparing ios project...
Processing configuration changes for plugins.
Iterating over installed plugins: [ 'org.apache.cordova.camera',
  'org.apache.cordova.console',
  'org.apache.cordova.contacts',
  'org.apache.cordova.device',
  'org.apache.cordova.device-motion',
  'org.apache.cordova.device-orientation',
  'org.apache.cordova.dialogs',
  'org.apache.cordova.file',
  'org.apache.cordova.file-transfer',
  'org.apache.cordova.geolocation',
  'org.apache.cordova.inappbrowser',
  'org.apache.cordova.media',
  'org.apache.cordova.media-capture',
  'org.apache.cordova.network-information',
  'org.apache.cordova.splashscreen' ]
Writing out cordova_plugins.js...
Ensuring plugin "org.apache.cordova.camera" is installed correctly...
undefined


> 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: Dmitry D
>Priority: Blocker
>  Labels: build
>
> 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)


[jira] [Commented] (CB-4994) Cordova prepare SyntaxError

2013-10-03 Thread Andrew Grieve (JIRA)

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

Andrew Grieve commented on CB-4994:
---

Dmitry, can you run again with --verbose and post your output?



> 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: Dmitry D
>Priority: Blocker
>  Labels: build
>
> 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)