đź“ŚDue to Apple`s Privacy Manifest policy update in 2024 May,
Developers must add this configuration in your Privacy Manifest file.
AppSealing SDK uses the File TimeStamp API to check device`s system is in safe status. To avoid alerts from App Store reviews, Developers must define the File TimeStamp API usage and the reason for the PrivacyInfo.xcprivacy file.
If you don't define this information, Apple can reject your app while doing Appstore review with below warning.
ITMS-91053: Missing API declaration - Your app’s code in the “adoc-c” 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:
To avoid above error, you must create the PrivacyInfo.xcprivacy file by following this Apple Developer documentation
After create the PrivacyInfo.xcprivacy file, you need to put the below information to declare the used API and reason in AppSealing SDK.
- NSPrivacyAccessedAPITypes
- NSPrivacyAccessedAPIType
- NSCategoryFileTimeStamp
- NSPrivacyAccessedAPITypeReasons
- C617.1
- NSPrivacyAccessedAPIType
After configuration, you can check the PrivacyInfo.xcprivacy from Xcode to confirm the configuration is done properly like the below screenshot.