high · M6 · MASVS-PRIVACY-1 · PTKD-IOS-PRIVACY-MANIFEST-INVALID

    Privacy manifest has invalid keys or values

    A PrivacyInfo.xcprivacy in the app has a key or value App Store Connect does not accept: an unknown key, a wrong type, a required-reason category or reason code that does not exist, a reason code from another category, an empty reasons or purposes list, an unknown data type or purpose, or a tracking domain that is not a bare host name. Since 12 November 2024 App Store Connect refuses such uploads with ITMS-91056 (Invalid privacy manifest).

    How it is exploited

    Not an attack: a hand-written or copied privacy manifest uses a reason code from the wrong category (CA92.1 under File timestamp), a made-up category name, a full URL as tracking domain, or a key with a typo. Xcode builds it without a warning; App Store Connect then refuses the upload.

    Why it matters

    The upload is refused with ITMS-91056 (Invalid privacy manifest), naming the file. No build can go to TestFlight or App Review until the manifest is fixed.

    How to fix it

    1. Open the file named in the evidence (for Expo: expo.ios.privacyManifests in app.json).
    2. For each NSPrivacyAccessedAPITypes entry, use one of Apple's five category names and only the reason codes Apple lists for that category (for example UserDefaults: CA92.1, 1C8F.1, C56D.1, AC6B.1).
    3. For each NSPrivacyCollectedDataTypes entry, use one of Apple's data type names and set NSPrivacyCollectedDataTypeLinked and NSPrivacyCollectedDataTypeTracking (Booleans) and NSPrivacyCollectedDataTypePurposes (a non-empty list of Apple's purpose names).
    4. List tracking domains as host names only: no https://, no path, no trailing slash.
    5. Run `plutil -lint PrivacyInfo.xcprivacy`, archive again and upload.

    Does your app have this?

    PTKD checks your build or your source project for PTKD-IOS-PRIVACY-MANIFEST-INVALID and every other check in this knowledge base.

    Scan your app

    References

    Related checks (M6)