Privacy Manifest Generator
- Runs in your browser
- Nothing uploaded
- No sign-up
Tick every reason that applies for each API your app’s own code calls. Since 1 May 2024 an undeclared one is a rejected upload.
Data your own code sends off the device. Leave empty if it collects nothing.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>NSPrivacyTracking</key> <false/> <key>NSPrivacyTrackingDomains</key> <array/> <key>NSPrivacyCollectedDataTypes</key> <array/> <key>NSPrivacyAccessedAPITypes</key> <array> <dict> <key>NSPrivacyAccessedAPIType</key> <string>NSPrivacyAccessedAPICategoryUserDefaults</string> <key>NSPrivacyAccessedAPITypeReasons</key> <array> <string>CA92.1</string> </array> </dict> </array> </dict> </plist>
Add it to the app target’s resources, with the target ticked under Target Membership. Xcode puts it at the root of an iOS app bundle and in Contents/Resources of a Mac app.
PrivacyInfo.xcprivacy = { NSPrivacyTracking, NSPrivacyTrackingDomains, NSPrivacyCollectedDataTypes, NSPrivacyAccessedAPITypes }
A checklist, not an audit: it cannot see which APIs your code or your dependencies call. Each third-party SDK ships its own manifest.
Updated · DRISH LABS
What goes in a PrivacyInfo.xcprivacy privacy manifest?
A PrivacyInfo.xcprivacy privacy manifest declares an approved reason for each required-reason API an app calls — CA92.1 for user defaults only the app can access — plus whether the app tracks users, the domains it tracks through and the data types it collects. Since 1 May 2024, App Store Connect has refused uploads that use one of these APIs without an approved reason. The file goes in the app target’s resources, named exactly PrivacyInfo.xcprivacy.
How it works
- Start with the required-reason APIs, because they are why most apps need the file. For each of the five categories your own code calls — user defaults, file timestamps, system boot time, disk space, active keyboards — tick every approved reason that describes the use. The sample already ticks CA92.1, the reason almost every app has.
- Turn on tracking only if the app or an SDK inside it tracks users in Apple’s sense, and list the domains it connects to for that. Leave it off otherwise; the domains are not written while it is off.
- Tick each type of data your own code collects — sends off the device — and for each, say whether it is linked to the user’s identity, whether it is used for tracking, and why it is collected. A type ticked with no purpose is flagged.
- Copy or download the result as PrivacyInfo.xcprivacy. All four root keys are always written, empty ones as an empty array or false, in the shape Xcode’s own template produces, and any typed domain is XML-escaped.
- Add the file to the app target’s resources and make sure the target is ticked under Target Membership — a dragged-in file is not always added to it. Xcode places it at the root of an iOS, iPadOS, watchOS or visionOS app bundle and in Contents/Resources of a Mac app. Frameworks and SDKs ship their own manifest; the app’s does not cover them, and theirs does not cover the app.
What a required-reason declaration is
Apple lists APIs that could be used to fingerprint a device — reading file timestamps, the system boot time, free disk space, the active keyboards and user defaults — and requires every app or SDK that calls one to declare an approved reason from a fixed list. Each reason is a code: CA92.1 means the app reads and writes user defaults that only it can access; C617.1 means it reads timestamps of files inside its own container; 35F9.1 means it measures elapsed time between events in the app. Since 1 May 2024 App Store Connect does not accept an upload that calls one of these APIs without the declaration. The reason has to be true: each code also restricts what the data may be used for, usually that it never leaves the device.
NSPrivacyAccessedAPITypes = [ { NSPrivacyAccessedAPIType: …UserDefaults, NSPrivacyAccessedAPITypeReasons: [ CA92.1 ] } ]
When you need it
- Fixing ITMS-91053: missing API declaration
- The email says the app references an API category — most often NSPrivacyAccessedAPICategoryUserDefaults — without a reason in its privacy manifest. Tick the category it names, pick the reason that describes your use, and add the file to the app target. For user defaults written and read only by the app itself, that is CA92.1.
- Sharing settings with a widget through an App Group
- A widget or an extension reading the app’s settings goes through a shared suite, and CA92.1 does not cover that — it permits information only the app itself can access. 1C8F.1 is the reason for data shared within the app’s own App Group, and an app that does both declares both.
- An app that shows file dates
- A document browser that displays when a file was modified calls the file timestamp APIs. DDA9.1 covers displaying them to the person using the device and forbids sending them off it; C617.1 covers files in the app’s own container; 3B52.1 covers files the user picked with a document picker.
- Timers, stopwatches and elapsed time
- systemUptime and mach_absolute_time() are on the list, and a lot of timing code reaches one of them. 35F9.1 is the reason for measuring elapsed time between events inside the app, and it allows only that elapsed time to leave the device.
- Checking free space before a download
- Reading available capacity to decide whether a large file fits is E174.1 — and the app must behave differently based on it in a way users can see. Showing the free space on screen is 85F4.1. Neither allows the figure to be sent to a server.
- Declaring analytics or crash reporting
- If your own code sends crash logs or usage events, tick Crash data or Product interaction under collected data, with the purpose Analytics or App functionality. Data collected by a third-party SDK is declared in that SDK’s manifest, not in yours.
- A Swift package or framework
- An SDK needs its own PrivacyInfo.xcprivacy in its bundle, declaring what the SDK itself calls and collects. Two reasons exist only for SDKs — C56D.1 and 0A2A.1, for wrappers the app calls — and the generator warns if either is ticked, since they have no place in an app’s manifest.
Questions
Does every iOS app need a privacy manifest?
Every app that calls a required-reason API does, and nearly every app calls UserDefaults. Since 1 May 2024 App Store Connect does not accept an upload that uses one of these APIs without declaring an approved reason in the app’s privacy manifest.
What does CA92.1 mean?
It is the reason code for accessing user defaults to read and write information that is only accessible to the app itself. It does not permit reading what other apps or the system wrote, or writing where other apps can read — that is 1C8F.1, for an App Group.
Does this scan my code?
No. It cannot see which APIs your code or its dependencies call; it writes the declaration you describe. Search your project for UserDefaults, FileManager attributes, systemUptime and statfs before ticking, and remember that each SDK declares its own use in its own manifest.
Where does PrivacyInfo.xcprivacy go?
In the app target’s resources, named exactly PrivacyInfo.xcprivacy — that name is required. In Xcode, File → New File → App Privacy (under Resource) creates one with your target ticked; replace its contents with this. Xcode puts it at the root of the bundle for iOS, iPadOS, tvOS, visionOS and watchOS apps, and in Contents/Resources for a Mac app. A framework or SDK carries its own, in its own bundle.
What counts as tracking?
Apple’s definition: linking data collected from your app with data from other companies’ apps or websites for targeted advertising or advertising measurement, or sharing it with a data broker. Set NSPrivacyTracking only if that is true, and list the domains used for it.
What happens if the manifest is wrong?
App Store Connect rejects submissions that contain an invalid privacy manifest — unexpected keys or values — and emails the name and path of the file. That is why every key and code this page writes is copied from Apple’s documentation rather than typed from memory.
Why is every key written even when it is empty?
An empty array and false are explicit statements — no tracking domains, no collected data — and it is the shape Xcode’s own template produces. A reviewer or a tool reading the file sees that each question was answered rather than skipped.
Is anything I enter sent anywhere?
No. The property list is built in the page from the boxes you tick. Nothing is uploaded or stored.
Keep going
App Store Character Counter
Every App Store listing field against Apple’s limit.
Free toolApp Store Screenshot Resizer
Screenshots in, the exact iPhone.
Free toolApp Store Keyword Optimizer
Strips words the name and subtitle already index.
Free tool