Skip to main content

I am getting an email from Apple asking for API declaration (ITMS-91053: Missing API declaration)

Issue

I am publishing an app to the App Store, and Apple is asking me to justify my use of privacy-related APIs. I received the error "ITMS-91053: Missing API declaration" and need to provide a privacy manifest (PrivacyInfo.xcprivacy) that covers the Sentry SDK.

Applies To

  • All SaaS Customers and Self-Hosted Users

  • Apple SDK (Cocoa)

  • Multiplatform SDKs: React Native, Flutter, .NET MAUI, Unity

Resolution

Since May 1, 2024, Apple requires every app submitted to the App Store to declare the privacy-related ("required reason") APIs it uses, along with the approved reasons, in a PrivacyInfo.xcprivacy privacy manifest. The "ITMS-91053: Missing API declaration" email means your app's manifest is missing one or more of these declarations. The Sentry SDK ships its own manifest for the APIs it uses, so how you resolve this depends on how the SDK is linked.

  • If you use dynamically linked frameworks, Apple processes Sentry's bundled manifest automatically. Update to a Sentry SDK version that includes it: Cocoa 8.25.0+, React Native 5.22.1+, or Flutter 7.20.1+.

  • If you use statically linked libraries, you must add a PrivacyInfo.xcprivacy file to your app yourself. The app-level manifest must cover the whole application and all included libraries, including Sentry.

Follow the guide for your SDK (Data Management > Apple Privacy Manifest):

Sentry does not publish a dedicated privacy manifest guide for .NET MAUI or Unity, because those frameworks generate the manifest through their own tooling. For .NET MAUI, see Microsoft's .NET MAUI privacy manifest documentation (not maintained by Sentry). For Unity, see Unity's privacy manifest documentation (not maintained by Sentry); recent Unity Editor versions include the required reasons automatically.

Did this answer your question?