Ajouve
Ajouve

Reputation: 10049

React native ITMS-91053

Reading about this subject, it seems that the third party SDK have to do the update and I should not change anything on my side. But as I am not sure if they will make the update on time and I do not want to generate bugs upgrading quickly my versions, I would like to handle it by my side.

It seems creating it directly with Xcode works, but in my case I still have the issues.

I created a App Privacy file using Xcode on my project root with the 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>NSPrivacyAccessedAPICategoryDiskSpace</string>

            <key>NSPrivacyAccessedAPITypeReasons</key>
            <array>
               <string>7D9E.1</string>
            </array>
         </dict>
         <dict>
            <key>NSPrivacyAccessedAPIType</key>
            <string>NSPrivacyAccessedAPICategorySystemBootTime</string>
            
            <key>NSPrivacyAccessedAPITypeReasons</key>
            <array>
               <string>3D61.1</string>
            </array>
         </dict>
      </array>
   </dict>
</plist>

But then each time I release it with TestFlight, I still have the same error messages

Although submission for TestFlight review was successful, you may want to correct the following issues in your next submission for TestFlight 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 “***” 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 “***” 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.

Apple Developer Relations

Upvotes: 0

Views: 223

Answers (0)

Related Questions