user23783692
user23783692

Reputation:

ITMS-91053: Missing API declaration - ReactNative

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 “My app” 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 “My app” 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.

Why is this warning appearing even though I haven't made any changes to the native code?"

Is it possible not to initialize PrivacyInfo.xcprivacy?

Upvotes: 0

Views: 3328

Answers (2)

ArkaneKhan
ArkaneKhan

Reputation: 476

enter image description hereAdd privacy info file in the way described below

enter image description here

enter image description here

select your added file

enter image description here

Add declarations in App Privacy file. You need to add only ones present in your email

and you are done hope it helps someone.

Those of you how are saying after file addition they are still getting warning from apple make sure your PrivacyInfo file is selected in target Membership other wise PrivacyInfo file won't be bundled in to your release and you will continue to receive warning from apple.

enter image description here

Upvotes: 5

Alex
Alex

Reputation: 86

This is a requirement recently added by Apple. Starting May 1st, 2024 some 3rd party SDKs are required to add a privacy manifest file. In theory sometime before May 1st 2024, all of the 3rd party SDKs listed here should update their packages to include the required file. As a developer using those packages the only thing you should need to do is keep whichever of those packages you are using up to date. As you can see here Apple has stated that you as a developer do not need to do anything in your app's privacy manifest file, it should all be taken care of by the 3rd party SDKs. Whether or not they actually succeed in updating their packages before May 1st remains to be seen.

Upvotes: 0

Related Questions