You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Spencer (JIRA)" <ji...@apache.org> on 2014/08/08 07:40:12 UTC

[jira] [Updated] (CB-5989) Properties defined in plugin.xml are not created in *-Info.plist

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

Spencer updated CB-5989:
------------------------

    Attachment: before_platform_add_plist_fix.sh
                after_platform_add_plist_fix.sh

Here's a workaround for the issue, simply add these two hooks in the hooks directory (i.e. before_platform_add_plist_fix.sh to hooks/before_platform_add/001_plist_fix.sh and after_platform_add_plist_fix.sh to hooks/after_platform_add/001_plist_fix.sh)

> Properties defined in plugin.xml are not created in *-Info.plist
> ----------------------------------------------------------------
>
>                 Key: CB-5989
>                 URL: https://issues.apache.org/jira/browse/CB-5989
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI, Plugman
>    Affects Versions: 3.3.0
>         Environment: Mavericks 10.9.1; Xcode 5.0.2; Cordova 3.3.1-0.3.0
>            Reporter: Kelvin Dart
>              Labels: CLI, Plugin
>         Attachments: after_platform_add_plist_fix.sh, before_platform_add_plist_fix.sh
>
>
> I have the following tag in my <platforms="ios"> tag, within plugin.xml:
> <config-file target="*-Info.plist" parent="UISupportedExternalAccessoryProtocols">
>     <array>
>         <string>jp.star-m.starpro</string>
>     </array>
> </config-file>
> However, whenever I attempt to add in my plugin, this setting is not applied to my project's plist file and I have to do it manually.



--
This message was sent by Atlassian JIRA
(v6.2#6252)