[ 
https://issues.apache.org/jira/browse/CB-4971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13839697#comment-13839697
 ] 

Wicky Hu edited comment on CB-4971 at 12/5/13 2:14 AM:
-------------------------------------------------------

I have similar issue with Cordova 3.2.0-0.3.0 and Xcode 5.0.1. 

My cordova project is working ok for android platform. Then I want to add ios 
platform by CLI:

1) platform add ios, completed successfully
2) prepare ios, here config.xml is generated properly, WITH plugins feature 
lines added
3) compile ios, here config.xml is generated again, WITHOUT plugins feature 
lines added
4) all plugins are not working

If I run build ios directly, I can only see the config.xml which WITHOUT 
plugins feature lines.
I guess there is something wrong in compile process, where config.xml shouldn't 
be re-genrated.




was (Author: wickyhu):
I have similar issue with Cordova 3.2.0-0.3.0 and Xcode 5.0.1. 

My cordova project is working ok for android platform. Then I want to add ios 
platform by CLI:

1) platform add ios, completed successfully
2) prepare ios, here config.xml is generated properly, WITH plugins feature 
lines added
3) compile ios, here config.xml is generated again, WITHOUT plugins feature 
lines added
4) all plugins are not working

If I run build ios directly, I can only see the config.xml which WITHOUT 
plugins feature lines.


> Installation of plugins does not work for iOS
> ---------------------------------------------
>
>                 Key: CB-4971
>                 URL: https://issues.apache.org/jira/browse/CB-4971
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Contacts, Plugin Device, Plugin Dialogs
>    Affects Versions: 3.0.0, 3.1.0
>         Environment: iOS 
>            Reporter: Oleg
>            Priority: Critical
>              Labels: ios, plugin
>             Fix For: Master, 3.0.0, 3.3.0
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Installation of iOS plugins does not work for iOS.
> Update: does not work in 3.1 cordova either.
> When installing the plugin via "cordova plugin add", the plugins fail to 
> install correctly to the iOS platform:
> - source code (.js, .m, .h and .bundle) files are not copied over
> - proper frameworks are not being added to the project
> - config.xml file is not updated with plugin information
> Tried it on Device, Contacts and Dialogs and some other plugins.
> Update: tried on network-information plugin with cordova 3.1
> the workaround is to perform the above steps manually. but it is not 
> documented anywhere.
> Note: it worked for me during one test, when the project was fresh. However 
> after making a few minor changes and running "cordova prepare" or "cordova 
> build" a few times, it stops working for iOS - i.e. you cannot add plugins 
> without issues above. Android works fine.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to