You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Byoungro So (JIRA)" <ji...@apache.org> on 2016/02/21 23:02:18 UTC
[jira] [Created] (CB-10659) fail to add platform ios after a plugin
is added first
Byoungro So created CB-10659:
--------------------------------
Summary: 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
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] ls
config.xml hooks platforms plugins www
[t6.0.1] cordova plugin add org.apache.cordova.media@0.2.16
Notice: org.apache.cordova.media has been automatically converted to cordova-plugin-media to be fetched from npm. This is due to our old plugins registry shutting down.
Fetching plugin "cordova-plugin-media@0.2.16" via npm
[t6.0.1] cordova platform add ios
Adding ios project...
iOS project created with cordova-ios@4.0.1
Notice: org.apache.cordova.media has been automatically converted to cordova-plugin-media and fetched from npm. This is due to our old plugins registry shutting down.
Fetching plugin "cordova-plugin-media" via npm
cordova-plugin-media" will not install due to "/Users/bso/cordova/test/t6.0.1/plugins/org.apache.cordova.media" being installed.
Installing "org.apache.cordova.media" for ios
Notice: org.apache.cordova.file has been automatically converted to cordova-plugin-file and fetched from npm. This is due to our old plugins registry shutting down.
Fetching plugin "cordova-plugin-file" via npm
Installing "cordova-plugin-file" for ios
The Android Persistent storage location now defaults to "Internal". Please check this plugins README to see if you application needs any changes in its config.xml.
If this is a new application no changes are required.
If this is an update to an existing application that did not specify an "AndroidPersistentFileLocation" you may need to add:
"<preference name="AndroidPersistentFileLocation" value="Compatibility" />"
to config.xml in order for the application to find previously stored files.
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