You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/07/01 14:20:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17149472#comment-17149472 ] 

ASF subversion and git services commented on CB-5989:
-----------------------------------------------------

Commit a18bf0e2774b40dda11e3475b11a2dc3639bdb80 in cordova-common's branch refs/heads/4.0.x from Dave Alden
[ https://gitbox.apache.org/repos/asf?p=cordova-common.git;h=a18bf0e ]

(ios) fix: resolve correct path to app info plist when multiple plist files are present (#144).

When multiple plist files exists in a cordova-ios project (e.g. due to a plugin containing `<podspec>`), ConfigFile was updated under CB-5989 to select the app plist as the target for changes destined for *-Info.plist.
However, the change made under CB-5989 incorrectly constructed the path to the app plist by omitting the project name subdirectory from the path, causing the fix to fail to work.

This commit fixes this by correcting the constructed path to the app plist.


> 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: cordova-cli, cordova-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
>            Priority: Major
>              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
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org