cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Byoungro So (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CB-10659) fail to add platform ios after a plugin is added first
Date Sat, 27 Feb 2016 05:30:18 GMT

     [ https://issues.apache.org/jira/browse/CB-10659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Byoungro So closed CB-10659.
----------------------------

> fail to add platform ios after a plugin is added first
> ------------------------------------------------------
>
>                 Key: CB-10659
>                 URL: https://issues.apache.org/jira/browse/CB-10659
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Byoungro So
>            Assignee: Byoungro So
>              Labels: pendingPR, triaged
>
> Adding platform ios failed when a plugin is already added into the project first.
> Here is how to reproduce the issue.
> {code}
> [test] cordova create t6.0.1
> Creating a new cordova project.
> [test] cd t6.0.1
> [[t6.0.1] cordova plugin add cordova-plugin-device
> Fetching plugin "cordova-plugin-device@~1.1.1" via npm
> [t6.0.1] cordova platform add ios
> Adding ios project...
> iOS project created with cordova-ios@4.0.1
> Installing "cordova-plugin-device" for ios
> Discovered plugin "cordova-plugin-whitelist" in config.xml. Installing to the project
> Fetching plugin "cordova-plugin-whitelist@1" via npm
> Installing "cordova-plugin-whitelist" for ios
> Failed to install 'cordova-plugin-whitelist':Error: ENOENT, no such file or directory
'/Users/bso/cordova/test/t6.0.1/platforms/ios/HelloCordova.xcodeproj/project.pbxproj'
>     at Error (native)
>     at Object.fs.openSync (fs.js:500:18)
>     at Object.fs.writeFileSync (fs.js:1099:15)
>     at Object.cachedProjectFiles.(anonymous function).write (/Users/bso/cordova/test/t6.0.1/platforms/ios/cordova/lib/projectFile.js:73:16)
>     at /Users/bso/cordova/test/t6.0.1/platforms/ios/cordova/lib/plugman/Plugman.js:85:21
>     at _fulfilled (/Users/bso/cordova/test/t6.0.1/platforms/ios/cordova/node_modules/cordova-common/node_modules/q/q.js:834:54)
>     at self.promiseDispatch.done (/Users/bso/cordova/test/t6.0.1/platforms/ios/cordova/node_modules/cordova-common/node_modules/q/q.js:863:30)
>     at Promise.promise.promiseDispatch (/Users/bso/cordova/test/t6.0.1/platforms/ios/cordova/node_modules/cordova-common/node_modules/q/q.js:796:13)
>     at /Users/bso/cordova/test/t6.0.1/platforms/ios/cordova/node_modules/cordova-common/node_modules/q/q.js:857:14
>     at runSingle (/Users/bso/cordova/test/t6.0.1/platforms/ios/cordova/node_modules/cordova-common/node_modules/q/q.js:137:13)
> {code}



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