ITMS-91106: Invalid API reason declaration
search cancel

ITMS-91106: Invalid API reason declaration

book

Article ID: 381691

calendar_today

Updated On:

Products

DX APM SaaS

Issue/Introduction

Wrapping SDK in AXA returning the below error:

ITMS-91106: Invalid API reason declaration - The PrivacyInfo.xcprivacy file at the “CAMobileAppAnalytics.bundle/PrivacyInfo.xcprivacy” path contains “File Timestamp - C617.1: To access the timestamps, size, or other metadata of files” as the value for a NSPrivacyAccessedAPITypeReasons key instead of a valid reason code for using an API in the NSPrivacyAccessedAPICategoryFileTimestamp category. In addition to the privacy manifest files in the locations outlined in the documentation, starting November 12, 2024, all privacy manifests you submit must have valid content. Values for NSPrivacyAccessedAPITypeReasons keys in any privacy manifest must be valid reason codes for the corresponding API category. 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/adding_a_privacy_manifest_to_your_app_or_third-party_sdk

 

 

Resolution

It is resolved in 24.11.3 AXA SDK release.

To get it, please run the following commands to get the latest CAMobileAppAnalytics pod 24.11.3:

cd ios/App

rm -rf pods

rm Podfile.lock 

pod install

pod update