Privacy Manifest Generator (PrivacyInfo.xcprivacy)

Answer three questions and download the PrivacyInfo.xcprivacy file Apple requires: tracking, collected data types and the reasons for using required reason APIs such as UserDefaults.

1. Tracking

2. Data your app collects

Only tick data that leaves the device (to your server or an SDK). Data that stays on the iPhone doesn’t count.

3. Required reason APIs

Apple requires you to explain why you use these APIs. Almost every app uses UserDefaults.

PrivacyInfo.xcprivacy

    Everything is generated in your browser: nothing is sent to any server.

    The three parts of a privacy manifest

    • Tracking (NSPrivacyTracking and NSPrivacyTrackingDomains): whether your app tracks users as Apple defines it, and which domains it uses for that.
    • Collected data (NSPrivacyCollectedDataTypes): each data type that leaves the device, whether it is linked to the user, whether it is used for tracking and for what purpose.
    • Required reason APIs (NSPrivacyAccessedAPITypes): file timestamps, system boot time, disk space, active keyboards and UserDefaults, each with an approved reason code.

    How to add it to Xcode

    1. Download the file or copy its contents.
    2. In Xcode choose File → New → File, search for «App Privacy» and create PrivacyInfo.xcprivacy, or drag in the downloaded file.
    3. Make sure it belongs to your app target, then archive and check the privacy report in the Organizer.

    Frequently asked questions

    Is the privacy manifest mandatory?

    Since 1 May 2024 Apple requires apps and third-party SDKs that use required reason APIs to declare them, and App Store Connect warns you when they are missing.

    Does it replace the privacy nutrition labels?

    No, but Xcode can generate a privacy report from your manifests that helps you fill them in on App Store Connect.

    What about my SDKs?

    Many popular SDKs ship their own manifest. Declare only what your own code does, and update the SDKs that do not include one.

    ¿Prefieres español? Esta herramienta en español.