[
https://issues.apache.org/jira/browse/CB-11803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15457927#comment-15457927
]
Matus Koprda edited comment on CB-11803 at 9/2/16 8:33 AM:
-----------------------------------------------------------
This test case seems to work with 6.4.0-nightly.2016.9.2.4935f1a5 but a larger
project still doesn't get the plugins added.
was (Author: blade.sk):
6.4.0-nightly.2016.9.2.4935f1a5 doesn't have this issue. But still, it's
impossible to build fully working iOS apps on 6.3.x with `cordova prepare`.
> Plugin features don't get written to iOS-specifc config.xml
> -----------------------------------------------------------
>
> Key: CB-11803
> URL: https://issues.apache.org/jira/browse/CB-11803
> Project: Apache Cordova
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: CLI, iOS, Plugins
> Affects Versions: 6.3.1
> Reporter: Matus Koprda
> Priority: Critical
>
> When running `cordova prepare` or `cordova platform add ios` after adding
> plugins, the platform-specific config.xml file for iOS
> (`platforms/ios/NAME/config.xml`) doesn't have `<feature>` tags, which
> effectively prevents any installed plugin from working.
> The tags *do* get added when installing plugins *after* the iOS platform was
> created.
> How to reproduce - this creates a working config.xml:
> cordova create test
> cd test
> cordova platform add ios
> cordova plugin add cordova-plugin-device --save
> This creates a broken config.xml (resulting in `Plugin 'Device' not found, or
> is not a CDVPlugin.` error when running on a an iPhone):
> cordova create test
> cd test
> cordova plugin add cordova-plugin-device --save
> cordova platform add ios
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]