apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.16k stars 989 forks source link

properties declared in config.xml --> (config-file property) are not being added correctly in the .plist file #1048

Closed phyr0s closed 1 year ago

phyr0s commented 3 years ago

Bug Report

Problem

properties declared in config.xml --> (config-file property) are not being added correctly in the .plist file

What is expected to happen?

Add custom string/array of string to .plist file

What does actually happen?

Nothing, just skip and add the default system string

Information

Try to add for example NSCalendarsUsageDescription string to plist and will add the default string not the custom one.

Command or Code

$cordova build ios --device In the config.xml file just add -->

<platform name="ios">
        <config-file parent="NSCalendarsUsageDescription" target="*-Info.plist">
            <string>Using calendar for.........</string>
        </config-file>
</platform>

Environment, Platform, Device

iOS last version of xcode 12.3 and previous 12.2 (maybe happen with all)

Version information

cordova-ios 6.1.1 cordova 10.0.0

Checklist

dpogue commented 1 year ago

I've marked this issue as stale because it's been over a year with no further comments. If this is still an issue in the latest cordova-ios version and an up-to-date iOS version, please let us know. Otherwise, this issue will be closed.

dpogue commented 1 year ago

Closing as stale.