generate_privacy_manifest
Detect required-reason APIs in first-party code and generate a valid PrivacyInfo.xcprivacy. Preview results by default; write to save to app target directory.
Instructions
Generate a valid PrivacyInfo.xcprivacy covering every required-reason API detected in first-party code (plus anything already declared). By default only PREVIEWS the XML; pass write=true to save it to the app target directory. After writing, the file still must be added to the app target in Xcode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| write | No | If true, write the manifest to <appSourceDir>/PrivacyInfo.xcprivacy. If false, only return the XML for review. | |
| projectPath | Yes | Absolute path to the iOS project. Can be the repo root (containing an ios/ folder) or the ios/ directory itself. |