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

Andrew Grieve resolved CB-4682.
-------------------------------

    Resolution: Fixed

I think this is now fixed from CLI improvements. Please re-open if it's still 
triggerable with the latest version of CLI.

> 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 was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to