To use the tool, run the following command:
npx pmtools add <path/to/privacy-manifest> <path/to/app>
For example
npm pmtools add PrivacyManifest.xml ios/App
- Privacy Manifest Path: The first argument is the path to your (new)
PrivacyInfo.xcprivacy
file. - App Directory Path: The second argument is the path to your app directory that contains
.xcodeproj
, but does not include.xcworkspace
.
- Creating a New Privacy Manifest: If your app does not yet have a
PrivacyInfo.xcprivacy
file, this command will copy and set up the newPrivacyInfo.xcprivacy
file. - Overwriting an Existing Privacy Manifest: If your app already has a
PrivacyInfo.xcprivacy
file, this command will overwrite it with the provided one.
This project is licensed under the Apache License 2.0. See the LICENSE file for details.