Guides › Store error messages
ITMS-91055: Invalid API reason declaration — how to fix it
Checked against the official pages on 2026-11-28.
A typical email:
ITMS-91055: Invalid API reason declaration - The PrivacyInfo.xcprivacy for the "…" file contains "App Functionality" as the value for a NSPrivacyAccessedAPITypeReasons key instead of a valid reason code for using an API in the NSPrivacyAccessedAPICategoryFileTimestamp category.
You declared the API — good — but one of the values under NSPrivacyAccessedAPITypeReasons isn't a code Apple accepts for that category. Apple's documentation: the values "must be the values associated with the accessed API type".
Usual causes
- A description instead of a code (
App Functionality,Store user settings). - A code from another category — e.g.
CA92.1(UserDefaults) under FileTimestamp. - A typo or a made-up code: Xcode doesn't check the values, so it only fails on upload.
- An SDK-only code (
0A2A.1,C56D.1) in an app's manifest.
Fix
- Open the
PrivacyInfo.xcprivacythe email names. If it belongs to an SDK, update that SDK instead. - Replace the value with the code from the table that matches what your code actually does:
| Category (APIs) | Reason code — when to use it |
|---|---|
NSPrivacyAccessedAPICategoryUserDefaultsUserDefaults | CA92.1 — Read and write data only your app can access (the usual one)1C8F.1 — Read and write data shared within your App GroupAC6B.1 — Read managed app configuration / write feedback for MDM |
NSPrivacyAccessedAPICategoryFileTimestampFile creation / modification dates, file metadata | C617.1 — Timestamps, size or metadata of files inside your app or App Group containerDDA9.1 — Show file timestamps to the user (not sent off the device)3B52.1 — Metadata of files the user picked, e.g. with a document picker |
NSPrivacyAccessedAPICategorySystemBootTimeSystem uptime (e.g. systemUptime, mach_absolute_time) | 35F9.1 — Measure time elapsed between events in the app, or run timers8FFB.1 — Calculate absolute timestamps for events in your app3D61.1 — Include boot time in a bug report the user chooses to send |
NSPrivacyAccessedAPICategoryDiskSpaceAvailable / total disk space | E174.1 — Check there's enough space to write files, or free space when low85F4.1 — Show disk space to the user7D9E.1 — Include disk space in a bug report the user chooses to sendB728.1 — Health research apps: warn participants about low space |
NSPrivacyAccessedAPICategoryActiveKeyboardsList of active keyboards | 54BD.1 — Adjust your UI to the active keyboard3EC4.1 — Custom keyboard apps |
Shortened from Apple's reason list — read the full wording of the one you pick.0A2A.1 and C56D.1 are only for SDKs that wrap these APIs for the app.
The finished entry looks like this:
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>Then archive and upload a new build. Missing a category entirely is a different error: ITMS-91053.
See what your own app needs to declare. Drop your dependency file — it's read in your browser, no signup.
Scan my dependency file →Sources
- NSPrivacyAccessedAPIType reason codes (Apple)
- Describing use of required reason API (Apple)
- Developer Forums: ITMS-91055 email
More guides
Store rules change; always check the linked official pages. This is not legal advice.