You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Aaron Moman (JIRA)" <ji...@apache.org> on 2013/08/27 21:49:52 UTC
[jira] [Created] (CB-4682) cordova build fails after adding plugins
after running cordova build
Aaron Moman created CB-4682:
-------------------------------
Summary: cordova build fails after adding plugins after running cordova build
Key: CB-4682
URL: https://issues.apache.org/jira/browse/CB-4682
Project: Apache Cordova
Issue Type: Bug
Components: iOS
Affects Versions: 3.0.0
Environment: OS X 10.8
Reporter: Aaron Moman
Assignee: Shazron Abdullah
(This might be related to CB-4502.)
Once you've build an iOS app with cordova build, you can no longer add plugins with cordova plugin add. cordova build will now fail because of missing files.
$ cordova create c30 com.example.c30 c30
$ cd c30/
$ cordova platform add ios
$ cordova build
$ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git
$ cordova build
build fails (clang: error: no such file or directory: 'c30/platforms/ios/c30/Plugins/org.apache.cordova.core.<plugin>/<CDV<plugin>>.m')
This also fails if you do:
$ cordova create c30 com.example.c30 c30
$ cd c30/
$ cordova platform add ios
$ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git
$ cordova build (This works)
$ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git
$ cordova build
build fails.
I set the priority to Major instead of Critical or Blocker because I can work around this by installing everything before doing a build or manually copying the files myself. However, that defeats the purpose of the CLI tools.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira