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

Fix

  1. Open the PrivacyInfo.xcprivacy the email names. If it belongs to an SDK, update that SDK instead.
  2. Replace the value with the code from the table that matches what your code actually does:
Category (APIs)Reason code — when to use it
NSPrivacyAccessedAPICategoryUserDefaults
UserDefaults
CA92.1 — Read and write data only your app can access (the usual one)
1C8F.1 — Read and write data shared within your App Group
AC6B.1 — Read managed app configuration / write feedback for MDM
NSPrivacyAccessedAPICategoryFileTimestamp
File creation / modification dates, file metadata
C617.1 — Timestamps, size or metadata of files inside your app or App Group container
DDA9.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
NSPrivacyAccessedAPICategorySystemBootTime
System uptime (e.g. systemUptime, mach_absolute_time)
35F9.1 — Measure time elapsed between events in the app, or run timers
8FFB.1 — Calculate absolute timestamps for events in your app
3D61.1 — Include boot time in a bug report the user chooses to send
NSPrivacyAccessedAPICategoryDiskSpace
Available / total disk space
E174.1 — Check there's enough space to write files, or free space when low
85F4.1 — Show disk space to the user
7D9E.1 — Include disk space in a bug report the user chooses to send
B728.1 — Health research apps: warn participants about low space
NSPrivacyAccessedAPICategoryActiveKeyboards
List of active keyboards
54BD.1 — Adjust your UI to the active keyboard
3EC4.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

More guides

Store rules change; always check the linked official pages. This is not legal advice.