GitHub user breautek added a comment to the discussion: ITMS-91061: Missing 
privacy manifest - Your app includes 
“Frameworks/GTMAppAuth.framework/GTMAppAuth”

You can look at how the 
[cordova-plugin-file](https://github.com/apache/cordova-plugin-file/blob/master/plugin.xml#L204)
 declares it's own bundle which include a manifest.

1. Create a `.bundle` folder, e.g. `MyAppBundle.bundle`
2. Create `PrivacyInfo.xcprivacy` file inside the `MyAppBundle.bundle` folder. 
Filename matters!
3. Inside your `config.xml`, you can import the bundle

```xml
<widget ...>
  <platform name="ios">
    ...
    <resource-file src="path/to/MyAppBundle.bundle" target="MyAppBundle.bundle"
  </platform>
</widget>
```

Do note that cordova-ios 7.1.0 or later is required.

All of Cordova resources uses `CDV` has a prefix. You should refrain from using 
the `CDV` prefix for your app code and resources as they might name clash with 
Cordova provided assets.

`PrivacyInfo.xcprivacy` file consists of a specially crafted XML format. You 
can find more details and reference links on our [cordova 
blog](https://cordova.apache.org/announcements/2024/04/03/cordova-ios-7.1.0.html).
 But it might be easier to use XCode to create a privacy manifest file, and 
then use the GUI to fill in all your declarations. Then you can copy and paste 
the resulting PrivacyInfo.xcprivacy file.

GitHub link: 
https://github.com/apache/cordova/discussions/524#discussioncomment-12144349

----
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