-
Notifications
You must be signed in to change notification settings - Fork 157
Plugin install fails with pbxproj.js syntax error #188
Comments
I did a complete un-install of npm and node and phonegap, and re-installed. Problem went away. Still strange to get a syntax error there, but c'est la vie. |
Drat, spoke too soon.
|
Having the same issue trying to get https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git installed. |
It was working fine for me for last 2 weeks. Suddenly i cannot build it for ios (its failing on splashscreen and dialogs) its still fine for android. I checked code history nothing is changed. Phonegap : 3.1.0-0.15.0 phonegap build ios -V [phonegap] using the local environment /usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/node_modules/xcode/lib/parser/pbxproj.js:2654 |
Same issue here, did you find a solution ? |
phonegap build ios -V and see where it is failing. in my case it was failing on splashscreen and dialogs. i removed related code (splashscreen and dialogs) from plugins/ios.json. file and after that i removed its related code from plugins folder. and used alternate code for hiding splashscreen and alerts. |
I did this and it failed on camera, and I cannot use alternate codefor this part. |
+1 to being stuck here too :( |
Far-fetched theory: could it have something to do with running the CLI while Xcode 5 was running? -Benjamin
|
My initials tests point to probably not (good idea though) From: salamanders [mailto:notifications@github.com] Far-fetched theory: could it have something to do with running the CLI while Xcode 5 was running? -Benjamin
— |
Having the same problem. Project builds, but can't add any plugin. UPDATE: |
Same problem, came totally out of nowhere -
|
I had the following error which just popped out of nowhere some time yesterday, and I found a solution:
So the I set up a new project and got the CLI build working again with all my plugins installed and [almost] everything back to normal. Then I ran a diff against my old project and noticed this: One of the things I did yesterday was set my application to run in the background, and then turned it back off. Even though I turned it off, the Synopsis: The Cordova parser needs to be updated to handle object keys with dot notation.
|
I updated my cordova parser (pbxproj.js) to allow for dots inside of an identifier, and now my problems are gone. Find the
UPDATE: there are 2 regexs inside of UPDATE 2: Upon going to submit a pull request I can see that the xcode parser was updated 2 months ago to account for periods: view the commit here - just update your local phonegap and everything should start working again: |
as noted by @DesignByOnyx, this issue has been resolved. |
Trying to install a plugin fails after updating phonegap to the latest CLI.
PS: I've tried the following, same result:
sudo npm cache clear
sudo npm update -g
sudo npm update -g phonegap
The text was updated successfully, but these errors were encountered: