GitHub user erisu edited a comment on the discussion: Plugin: Set minimum iOS 
deployment target

You would wrap it with the `config-file` element, targeting `config.xml`.

This injects it into the built `config.xml` file located in the iOS platform 
directory.

However, this sets the target for the entire application, not just a single 
plugin.

Also, anything written in the user's app `config.xml` will likely override 
plugin settings, so setting it in `plugin.xml` doesn't guarantee it will be 
applied.

```xml
<platform name="ios">
    <config-file target="config.xml" parent="/*">
        <preference name="deployment-target" value="13.0" />
    </config-file>
</platform>
```

GitHub link: 
https://github.com/apache/cordova/discussions/529#discussioncomment-12598368

----
This is an automatically sent email for issues@cordova.apache.org.
To unsubscribe, please send an email to: issues-unsubscr...@cordova.apache.org


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

Reply via email to