[
https://issues.apache.org/jira/browse/CB-13564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16592886#comment-16592886
]
David Pfeffer commented on CB-13564:
------------------------------------
[~Sujan12] Can you provide some guidance here? Even if we wanted to help submit
a pull request, I have no idea the answer to the above question about what that
code is doing.
> Multiple edit-config items for Info.plist causing error
> -------------------------------------------------------
>
> Key: CB-13564
> URL: https://issues.apache.org/jira/browse/CB-13564
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-cli
> Affects Versions: 7.1.0
> Reporter: Tom Bell
> Priority: Major
>
> I've updated `cordova-ios` to 4.5.3 and `cordova-plugin-contacts` to 3.0.0,
> I've got the following
> working:
> {code:xml}
> <edit-config file="*-Info.plist" mode="merge"
> target="NSContactsUsageDescription">
> <string>We require permission to access your contacts so you can import
> contacts into [redacted]</string>
> </edit-config>
> {code}
> However when I decided to move some stuff from an `after_prepare` hook
> script, to use edit-config, it fails with an error `doc.find is not a
> function`
> {code:xml}
> <edit-config file="*-Info.plist" mode="merge"
> target="NSContactsUsageDescription">
> <string>We require permission to access your contacts so you can import
> contacts into [redacted]</string>
> </edit-config>
> <edit-config file="*-Info.plist" mode="merge" target="UIStatusBarStyle">
> <string>UIStatusBarStyleLightContent</string>
> </edit-config>
> {code}
> If I take out the additional `<edit-config>` everything works.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]