268

Why am I all of a sudden getting this on successful builds with Apple?

Although submission for App Store review was successful, you may want to correct the following issues in your next submission for App Store review. Once you've corrected the issues, upload a new binary to App Store Connect.

ITMS-91053: Missing API declaration - Your app’s code in the “Test” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryFileTimestamp. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.

ITMS-91053: Missing API declaration - Your app’s code in the “Test” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategorySystemBootTime. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.

ITMS-91053: Missing API declaration - Your app’s code in the “Test” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryDiskSpace. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.

ITMS-91053: Missing API declaration - Your app’s code in the “Test” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryUserDefaults. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.

8
  • 5
    It looks like a lot of people are seeing this (I just did). It looks like a privacy file of some sort is required, I am still working through the details e.g. github.com/FlutterFlow/flutterflow-issues/issues/2527
    – dpjanes
    Commented Mar 14 at 23:04
  • 2
    React Native uses .plist files the same way any iOS app does. It's just that the app code/logic is Javascript. This is then bundled up into a normal .ipa (or .aab/.apk for Android), along with all the RN wrapper magic. Commented Mar 15 at 17:59
  • Where are you seeing this? When you validate your app? Submit it to App Store Connect? I am trying to validate some things and I would expect to get notified about this, but I am not seeing it anywhere. Commented Mar 19 at 16:47
  • I tried the scan but it doesn't seem to show any privacy stuff @jki
    – Mike Flynn
    Commented Mar 24 at 13:36
  • 2
    Do you have to send the app for review in order to check if the problem resolved ( after adding the PrivacyInfo file)? I remember that this warnings/errors used to show in the app distribution process (the ipa upload process to App Store)
    – dor506
    Commented Mar 24 at 13:48

14 Answers 14

221
+500

This is all documented in the Apple's website. Here are the steps:

  • Create a privacy manifest file for your app:

To add the privacy manifest to your app or third-party SDK in Xcode, follow these steps: Choose File > New File.

Scroll down to the Resource section, and select App Privacy File type.

Click Next.

Check your app or third-party SDK’s target in the Targets list.

Click Create.

By default, the file is named PrivacyInfo.xcprivacy; this is the required file name for bundled privacy manifests.

  • At the top level of this property list file, add the following key to the dictionary:

    NSPrivacyAccessedAPITypes

  • Basically, the keys that you need to add have been mentioned in the Apple's email: ... you must include a NSPrivacy.... , in this link search for each of the keys mentioned in your email starting with NSPrivacy... and see what the accepted reason codes are related to your own app and add it.

You should have one item for each NSPrivacy... key under the NSPrivacyAccessedAPITypes, which each of them has only one Privacy Accessed API Type which is the key name and one Privacy Accessed API Reasons which can include one or more reason codes.

And do not forget to select target for PrivacyInfo.xcprivacy file.

Enter image description here

Your privacy manifest file will look like something like this in the end:

Privacy manifest file after adding keys

References:

18
  • 26
    I think the problem is not your app itself, are the 3rd party frameworks, they also need to have these files. I'ts written in the apple docs. Your app or third-party SDK must declare one or more approved reasons that accurately reflect your use of each of these APIs and the data derived from their use. Commented Mar 15 at 16:47
  • 2
    After doing this I kept getting the error, I solved it by tying the privacy info file to the app (in the inspector panel). Commented Mar 19 at 16:46
  • 4
    Please remember to designate "Target of your app" for the PrivacyInfo.xcprivacy file.
    – Talha
    Commented Mar 26 at 6:04
  • 2
    @chengsam Updating the ones mentioned in the doc should work. Commented Mar 26 at 12:14
  • 7
    In my case, Firebase Analytics was triggering this email for 2 API categories: NSPrivacyAccessedAPICategoryDiskSpace and NSPrivacyAccessedAPICategoryUserDefaults. Simply updating to 10.24.0 resolved both of these warnings.
    – perpil
    Commented Apr 22 at 19:24
70

I was getting similar warnings after my upload. It seems there is still quite some time to resolve it (before May 1, 2024). I added the following keys to the app target's Privacy manifest (PrivacyInfo.xcprivacy), based on Apple's developer documentation regarding the matter.

<key>NSPrivacyAccessedAPITypes</key>
<array>
    <dict>
        <key>NSPrivacyAccessedAPIType</key>
        <string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
        <key>NSPrivacyAccessedAPITypeReasons</key>
        <array>
            <string>C617.1</string>
        </array>
    </dict>
    <dict>
        <key>NSPrivacyAccessedAPIType</key>
        <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
        <key>NSPrivacyAccessedAPITypeReasons</key>
        <array>
            <string>CA92.1</string>
        </array>
    </dict>
</array>

It will look like this in the editor

The Privacy Manifest file can be created from Xcode. Create a new file, search and select App Privacy as a file type, and select the concerning targets (those targets are mentioned in these warnings you got after uploading). Details on how to edit the Privacy Manifest is documented in this link.

And also more on it in this WWDC 2023 video.

6
  • So this worked for you? You didnt need this PrivacyInfo.cxprivacy file like in another answer?
    – Mike Flynn
    Commented Mar 15 at 13:46
  • 1
    I would not work. I add these in my info.plist and nothing happen.
    – Talha
    Commented Mar 18 at 11:13
  • 4
    Apple's docs don't say you can add these strings to your Info.plist file. I'd go down the PrivacyInfo.cxprivacy file route.
    – adamjansch
    Commented Mar 18 at 14:49
  • 7
    I don't think you can place these keys in your Info.plist file.. Apple docs suggest creating a new Privacy file and specifically naming it PrivacyInfo.cxprivacy: "By default, the file is named PrivacyInfo.xcprivacy; this is the required file name for bundled privacy manifests." Commented Mar 18 at 15:38
  • Yes, you're so right. I'll update my answer
    – Bocaxica
    Commented Mar 18 at 17:40
32

For Flutter developers it's fine to create a new App Privacy file in Xcode (%YOUR_FLUTTER_PROJECT%/ios/Runner/PrivacyInfo.xcprivacy) and configure the keys and reasons. e.g.:

<?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>NSPrivacyAccessedAPITypes</key>
      <array>
          <dict>
              <key>NSPrivacyAccessedAPIType</key>
              <string>NSPrivacyAccessedAPICategoryDiskSpace</string>
              <key>NSPrivacyAccessedAPITypeReasons</key>
              <array>
                  <string>E174.1</string>
              </array>
          </dict>
          <dict>
              <key>NSPrivacyAccessedAPIType</key>
              <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
              <key>NSPrivacyAccessedAPITypeReasons</key>
              <array>
                  <string>CA92.1</string>
              </array>
          </dict>
      </array>
  </dict>
</plist>

Please not just copy without verifying your own API usage. Possible reasons are listed here:

Apple Developer Documentation

10
  • 7
    Of course each developer should check and verify the correct answer for each, not just cut and paste...
    – jcaron
    Commented Mar 18 at 13:31
  • 1
    @jcaron I should probably make it more clear :) thank you
    – AndroDevs
    Commented Mar 20 at 14:44
  • for some reason, this did not work for me, I'm still getting the warning. Commented Mar 26 at 9:08
  • 4
    @AndroDevs adding the file in Runner worked for me Commented Apr 2 at 6:09
  • 2
    Sometime after April 17, a new document was added that specifies WHERE to put the PrivacyInfo.xcprivacy file. Adding a privacy manifest to your app or third-party SDK Commented May 1 at 14:37
22

Explanation: The ITMS-91053 errors you received indicate that your app's code specifically references APIs within the mentioned categories. This isn't a generic template that all apps must fill out; rather, it's a notification based on a scan of your app's binary by Apple's review process, which identified that your app uses these specific APIs. Starting May 1, 2024, Apple requires developers to declare the use of such APIs in their app's

Just in case you're looking for an example, my PrivacyInfo.xcprivacy Source Code looks like this:

<?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">
<!--
PrivacyInfo.xcprivacy
SwiftyGaming

Created by Ndriqim Haxhaj on 3/21/24.
Copyright (c) 2024 ___ORGANIZATIONNAME___. All rights reserved.
-->
<plist version="1.0">
    <dict>
        <key>NSPrivacyAccessedAPITypes</key>
        <array>
            <dict>
                <key>NSPrivacyAccessedAPIType</key>
                <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
                <key>NSPrivacyAccessedAPITypeReasons</key>
                <array>
                    <string>CA92.1</string>
                    <string>C56D.1</string>
                </array>
            </dict>
            <dict>
                <key>NSPrivacyAccessedAPIType</key>
                <string>NSPrivacyAccessedAPICategorySystemBootTime</string>
                <key>NSPrivacyAccessedAPITypeReasons</key>
                <array>
                    <string>35F9.1</string>
                </array>
            </dict>
            <dict>
                <key>NSPrivacyAccessedAPIType</key>
                <string>NSPrivacyAccessedAPICategoryDiskSpace</string>
                <key>NSPrivacyAccessedAPITypeReasons</key>
                <array>
                    <string>E174.1</string>
                </array>
            </dict>
            <dict>
                <key>NSPrivacyAccessedAPIType</key>
                <string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
                <key>NSPrivacyAccessedAPITypeReasons</key>
                <array>
                    <string>DDA9.1</string>
                    <string>0A2A.1</string>
                </array>
            </dict>
        </array>
    </dict>
</plist>

The PrivacyInfo.xcprivacy must be created this way: enter image description here

Full article: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files

Mine is located near Info.plist (don't mix these two) enter image description here

All the reasons used above (CA92.1, C56D.1, ...) are taken from official documentation link: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api

Here is a final representation of PrivacyInfo.xcprivacy as Property List:

enter image description here

3
  • 2
    You have declared C56D.1 and 0A2A.1 The documentation states that This reason may only be declared by third-party SDKs. Can you explain why you are using that in your app.
    – Enzio
    Commented Apr 11 at 4:29
  • Well, sure. The reason it's kind of self explanatory on documentation. You just have to recognize the third-party SDKs using those specific APIs. In my case: C56D.1 is used from github.com/sunshinejr/SwiftyUserDefaults, 0A2A.1 is used from various SDKs for caching files and images in the app (don't want to crowd this comment to much). If I didn't declare these reasons, App Store Connect kept complaining either by Privacy file missing on SDKs side or it was required to exist on my side as well. Now that I have them, everybody is happy.
    – ndr.hax
    Commented Apr 19 at 7:27
15

I am using this. It is full code and the Apple error message was removed. It is 100% working.

To add the privacy manifest to your app or third-party SDK in Xcode, follow these steps:

  • Choose FileNew File.

  • Scroll down to the Resource section, and select App Privacy File type.

  • Click Next.

  • Check your app or third-party SDK’s target in the Targets list.

  • Click Create.

By default, the file is named PrivacyInfo.xcprivacy; this is the required file name for bundled privacy manifests.

<?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>NSPrivacyAccessedAPITypes</key>
    <array>
        <dict>
            <key>NSPrivacyAccessedAPIType</key>
            <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
            <key>NSPrivacyAccessedAPITypeReasons</key>
            <array>
                <string>CA92.1</string>
            </array>
        </dict>
        <dict>
            <key>NSPrivacyAccessedAPIType</key>
            <string>NSPrivacyAccessedAPICategorySystemBootTime</string>
            <key>NSPrivacyAccessedAPITypeReasons</key>
            <array>
                <string>35F9.1</string>
            </array>
        </dict>
        <dict>
            <key>NSPrivacyAccessedAPIType</key>
            <string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
            <key>NSPrivacyAccessedAPITypeReasons</key>
            <array>
                <string>C617.1</string>
            </array>
        </dict>
        <dict>
            <key>NSPrivacyAccessedAPIType</key>
            <string>NSPrivacyAccessedAPICategoryDiskSpace</string>
            <key>NSPrivacyAccessedAPITypeReasons</key>
            <array>
                <string>85F4.1</string>
            </array>
        </dict>
    </array>
</dict>
</plist>
13
  • 2
    While this answer describes how to add privacy manifest, you should not declare APIs that you don't use, only ones that you (or 3rd party SDKs included in your app) use.
    – jki
    Commented Mar 20 at 14:59
  • 1
    This was incredibly helpful! I thought I had to add it to the Info.plist, but that doesn't work. Thank you!
    – Michael N
    Commented Mar 20 at 19:29
  • @jki did you find anywhere the confirmation that devs should also add things used by 3rd party SDKs?
    – matrejek
    Commented Mar 21 at 11:42
  • 1
    Thankyou. After about 7 failed attempts using other's answers, this actually works. Not only do you need PrivacyInfo.xcprivacy but also these are the accepted reasons for the API Types that Apple will accept. This should be the accepted answer. Obviously you should only include the APIs that your app uses. This should be the accepted answer and right at the top of this page.
    – TomV
    Commented Mar 21 at 16:19
  • 1
    should we also write in our privacy manifest APIs using by 3rd party sdks, or its enough to update sdks so they will write their API usage in their manifest info? Commented Mar 23 at 12:57
13

Starting in fall 2023, you will receive an email when uploading apps that use Apple's essential API to App Store Connect. If the reason for using the API is not explained in the app's PrivacyInfo file, the app will not pass from May 2024.

You can see what APIs are there and what are the reasons for the approval: Describing use of required reason API

Also there's this video about it: Get started with privacy manifests

How can you use it?

  1. You have to add PrivacyInfo.xcprivacy

    Enter image description here

  2. In the PrivacyInfo.xcprivacy file, you can define what data the SDK collects, where it is used for connection, and whether it is used for tracking.

    Enter image description here

2
  • 1
    No plist entries?
    – Mike Flynn
    Commented Mar 15 at 13:46
  • 1
    @MikeFlynn yes just you have to add App Privacy File(.xcpricacy)
    – lxxyeon
    Commented Mar 17 at 15:01
12

I received the same notification from Apple:

ITMS-91053: Missing API declaration - Your app’s code in the “ ” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategorySystemBootTime. While no action is required at this time...

ITMS-91053: Missing API declaration - Your app’s code in the “ ” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryUserDefaults. While no action is required at this time...

I added PrivacyInfo.xcprivacy file as in video https://developer.apple.com/videos/play/wwdc2023/10060 with following content:

<?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>NSPrivacyAccessedAPITypes</key>
    <array>
        <dict>
            <key>NSPrivacyAccessedAPIType</key>
            <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
            <key>NSPrivacyAccessedAPITypeReasons</key>
            <array>
                <string>CA92.1</string>
            </array>
        </dict>
        <dict>
            <key>NSPrivacyAccessedAPIType</key>
                  <string>NSPrivacyAccessedAPICategorySystemBootTime</string>
            <key>NSPrivacyAccessedAPITypeReasons</key>
            <array>
                <string>35F9.1</string>
            </array>
        </dict>
    </array>
</dict>
</plist>

And don't forget to set Target Membership for this file to your main bundle. Otherwise you will get the same result.

After this, I didn't get a warning from Apple.

P.S.: One more important note. If extensions are used in the project, the email from Apple will probably include these extensions as well. In this case, the separate PrivacyInfo.xcprivacy files with the necessary reasons must be added to the specified extensions as well. Accordingly, you must set the Target Membership for PrivacyInfo.xcprivacy, depending on the extension required.

2
  • 3
    Of course each developer should check and verify the correct answer for each, not just cut and paste...
    – jcaron
    Commented Mar 18 at 13:32
  • 4
    Thanks for the target membership warning, that's what I was missing. Just a note for others: the generated privacy report PDF is identical for me whether target membership is checked or not, but checking it fixed the app store warning. Commented Mar 19 at 15:02
5

For people who are using Expo Go or any expo package you find the current status here: https://github.com/expo/expo/issues/27796.

Update Here is the official Expo documentation now. Expo packages now include a PrivacyInfo.xcprivacy if required. You can also add your own PrivacyInfo.xcprivacy via settings in app.json (details here https://docs.expo.dev/guides/apple-privacy/#configuration-in-appjsonappconfigjs) if you are using a native iOS library that using a "restricted reason" API.

3

//Create the PrivacyInfo file via File->new->App privacy then add the following code in that file . After that Distribute your app for appstore it will resolved your issue

<?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>NSPrivacyAccessedAPITypes</key>
        <array>
            <dict>
                <key>NSPrivacyAccessedAPIType</key>
                <string>NSPrivacyAccessedAPICategoryDiskSpace</string>
                <key>NSPrivacyAccessedAPITypeReasons</key>
                <array>
                    <string>85F4.1</string>
                </array>
            </dict>
            <dict>
                <key>NSPrivacyAccessedAPIType</key>
                <string>NSPrivacyAccessedAPICategorySystemBootTime</string>
                <key>NSPrivacyAccessedAPITypeReasons</key>
                <array>
                    <string>35F9.1</string>
                </array>
            </dict>
            <dict>
                <key>NSPrivacyAccessedAPIType</key>
                <string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
                <key>NSPrivacyAccessedAPITypeReasons</key>
                <array>
                    <string>C617.1</string>
                </array>
            </dict>
            <dict>
                <key>NSPrivacyAccessedAPIType</key>
                <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
                <key>NSPrivacyAccessedAPITypeReasons</key>
                <array>
                    <string>CA92.1</string>
                </array>
            </dict>
        </array>
    </dict>
    </plist>
4
  • 3
    your answer does not explain anything, please add an explanation which properly answers the question.
    – iamnabink
    Commented Apr 10 at 4:21
  • @iamnabink this answer is basically what Apple is telling us to do developer.apple.com/documentation/bundleresources/…
    – johndpope
    Commented Apr 16 at 21:51
  • Although the answer above doesn't have explanations, it is a useful example of a working solution
    – Viacheslav
    Commented Apr 17 at 7:06
  • why description needed i have given solution for the issue mentioned above and i have tested well with 20 apps Commented Apr 17 at 9:55
1

Apple is sending this email because your application or the 3rd party SDK used by your application is using any of the APIs that require its reason to use.

You can check the api and their reasons from the following links.

  1. https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api

A list of third parties can be found

What you have to do is

  • Add the privacyinfo.xcprivacy file from xcode
  • Update the SDK version to a version that has privacyinfo support.
1

For those who are looking for boilerplate generation and finding SDK/dependency's PrivacyInfo.xcprivacy files, you can read and follow steps in this guide. Use Google Translate, as it's written in Chinese.

The steps would be

  1. using one of scanners
  2. in case you are using CocoaPods or Carthage, the scanner will try to search related PrivacyInfo.xcprivacy file from the correct repository
  3. if it can't find it, it will include it in warning texts
  4. as for your own project, fill in the your own reason in the generated template file.
  5. if things are correct, you will see correct entries privacy report when you generate it from built archive files (Xcode → OrganizerArchives → right-click on the correct archive files and Generate Privacy Report)

In case your project is still using outdated pods from CocoaPods, and cannot update it, you will have to manually copy the file (generated from one of scanners in the guide). And you will have to set the correct target for each pod (Alamofire file, copy into Xcode, set Target to "Alamofire", not your project as the target).

It is a similar approach to Carthage.

Not everyone is working in the greenfield of SPM, and targeting the latest iOS version, so I hope this helps.

1

For Xamarin and MAUI applications:

Create a Privacyinfo.xcprivacy file with the XML content as described elsewhere in this post (ensuring it tailored to your app, obviously), but make sure to mark the Build Action for Privacyinfo.xcprivacy as "BundleResource".

    <BundleResource Include="Privacyinfo.xcprivacy" />
0

As some people had already mentioned, from 2024-05-01 you have to describe in PrivacyInfo.xcprivacy, why you use some methods (read more here). Its to prevent apps from making a digital fingerprint of a person in order to identify him/her along the other apps.


Even though I described all required reasons API in my app, I still got email from App Review (ITMS-91053: Missing API declaration).

What I had to do was to find all methods described here for API category which was mentioned in the email also in the Package Dependencies. This way I found that some libraries still use the methods or hadn't created a PrivacyInfo file yet in my resolved version. So I had to update those libraries.

Enter image description here

Even though this resolved some problems, I still got email from App Review. I tried to find all the methods from the reported API category, but I didn't find anything. And then I realized that I was searching just for Swift methods. So I switched Language in Apple Docs to Objective-C, and this way I was able to find that some libraries which used these Objective-C methods. I updated them, and it fixed my problem.

Enter image description here

3
  • How to update them?
    – Elmar
    Commented Apr 24 at 0:29
  • 1
    @Elmar the same way you update any dependency... optionally increase version rule, update package, ... Commented Apr 24 at 9:42
  • The app uses old Flutter SDK and upgrading not an option right now as it s very big app. Need to find out which third party packages uses which so I can add Privacy file. Is there any way to see which packages actually raises these API warnings?
    – Elmar
    Commented Apr 25 at 3:43
-11

Add the following keys to my Privacyinfo.xcprivacy file:

<key>NSPrivacyTracking</key>
  <false/>
  <key>NSPrivacyTrackingDomains</key>
  <array/>
  <key>NSPrivacyCollectedDataTypes</key>
  <array>
      <dict/>
  </array>
  <key>NSPrivacyAccessedAPITypes</key>
  <array>
      <dict>
          <key>NSPrivacyAccessedAPIType</key>
          <string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
          <key>NSPrivacyAccessedAPITypeReasons</key>
          <array>
              <string>C617.1</string>
          </array>
      </dict>
      <dict>
          <key>NSPrivacyAccessedAPIType</key>
          <string>NSPrivacyAccessedAPICategorySystemBootTime</string>
          <key>NSPrivacyAccessedAPITypeReasons</key>
          <array>
              <string>35F9.1</string>
          </array>
      </dict>
      <dict>
          <key>NSPrivacyAccessedAPIType</key>
          <string>NSPrivacyAccessedAPICategoryDiskSpace</string>
          <key>NSPrivacyAccessedAPITypeReasons</key>
          <array>
              <string>7D9E.1</string>
          </array>
      </dict>
      <dict>
          <key>NSPrivacyAccessedAPIType</key>
          <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
          <key>NSPrivacyAccessedAPITypeReasons</key>
          <array>
              <string>CA92.1</string>
          </array>
      </dict>
  </array>
2
  • 1
    Of course each developer should check and verify the correct answer for each, not just cut and paste...
    – jcaron
    Commented Mar 18 at 13:31
  • 6
    This is not what Apple's documentation says to do. Instead you need to create a privacy manifest file. developer.apple.com/documentation/bundleresources/…
    – adamjansch
    Commented Mar 18 at 14:41

Not the answer you're looking for? Browse other questions tagged or ask your own question.