App Privacy Configuration
Describing data use in privacy manifests
Overview
Record the categories of data that your app or third-party SDK collects about the person using the app, and the reasons it collects the data. App developers can use Xcode to create a privacy report, summarizing the information about collected data in their app and the third-party SDKs the app links to.
Important
Third-party SDKs need to provide their own privacy manifest files that record the types of data they collect. Your app’s privacy manifest file doesn’t need to cover data collected by third-party SDKs that your app links to.
Describe the data your app or third-party SDK collects
For each type of data your app or third-party SDK collects, add a dictionary to the NSPrivacy
array in your privacy information file. Add the following keys to the dictionary.
NSPrivacy
Collected Data Type A string that identifies the type of data your app or third-party SDK collects. Choose the value from the list of data types below that matches the data your app or third-party SDK collects.
NSPrivacy
Collected Data Type Linked A Boolean that indicates whether your app or third-party SDK links this data type to the user’s identity. For more information, see Data linked to the user in App privacy details on the App Store.
NSPrivacy
Collected Data Type Tracking A Boolean that indicates whether your app or third-party SDK uses this data type to track.
NSPrivacy
Collected Data Type Purposes An array of strings that lists the reasons your app or third-party SDK collects the data. Choose values from the list of purposes below that match the reasons your app or third-party SDK collects this data type.
Xcode won’t generate a privacy report correctly if you define your own collected data types for the NSPrivacy
key, or provide your own reasons for the NSPrivacy
key. Use values listed in the documentation for the keys.
Create your app’s privacy report
Xcode can create a privacy report by aggregating the privacy manifests from your app and the third-party SDKs it links to. Use the privacy report to better understand all of the data collected by your app and whether it tracks. Create the privacy report for your app by doing the following:
Open your project in Xcode.
Choose Product > Archive. Xcode creates the archive and reveals it in the organizer.
Control-click the archive in the organizer and choose Generate Privacy Report.
Choose a location to save the privacy report.
Switch to Finder.
Navigate to the location where you saved the privacy report, and double-click to open the report in Preview.
The privacy report is organized in a similar way to Privacy Nutrition Labels. Refer to this report when you provide your app’s privacy details in App Store Connect. For more information on providing your app’s privacy details, see App privacy details on the App Store.