# ITMS-91053: Missing API declaration

> Getting the error ITMS-91053, Missing API declaration? Here is how to fix it. A required-reason API is used and the privacy manifest does not declare it.

**ITMS-91053: Missing API declaration.** Apple requires a privacy manifest (PrivacyInfo.xcprivacy) declaring why the app uses certain APIs, such as UserDefaults or file timestamps. Capacitor and many plugins use them.

- App Store Connect. The privacy manifest is missing a declaration.
- Interactive page: https://capwr.app/free-tools/build-error-explainer/itms-91053
- Build error explainer: https://capwr.app/free-tools/build-error-explainer
- Last updated: 2026-10-03

## What this error means

Apple requires a privacy manifest (PrivacyInfo.xcprivacy) declaring why the app uses certain APIs, such as UserDefaults or file timestamps. Capacitor and many plugins use them.

## Why it happens

Apple’s required-reason APIs, such as UserDefaults and file timestamps, must be declared in a privacy manifest. Capacitor and plugins call them, and an outdated SDK has no declaration.

## The message tools print

```
ITMS-91053: Missing API declaration - Your app's code in the "App" file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryUserDefaults.
```

## How to fix it

1. Add ios/App/App/PrivacyInfo.xcprivacy to the Xcode project and declare each API category from the email with an approved reason.
2. Update Capacitor and your plugins: recent versions ship their own manifests.
3. Rebuild and upload.

## Check a log that shows this

Paste the failing step into the [build error explainer](https://capwr.app/free-tools/build-error-explainer). It matches this message, and any others in the same log, in your browser. Nothing is uploaded.

## Other App Store Connect errors

- [ITMS-90725: iOS SDK version is too old](https://capwr.app/free-tools/build-error-explainer/itms-90725)
- [ITMS-90189: Redundant Binary Upload](https://capwr.app/free-tools/build-error-explainer/itms-90189)
- [ITMS-90186: Invalid Pre-Release Train](https://capwr.app/free-tools/build-error-explainer/itms-90186)
- [ITMS-90683: missing purpose string in Info.plist](https://capwr.app/free-tools/build-error-explainer/itms-90683)
- [ITMS-90717: app icon has an alpha channel](https://capwr.app/free-tools/build-error-explainer/itms-90717)
- [Authentication credentials are missing or invalid](https://capwr.app/free-tools/build-error-explainer/app-store-connect-authentication-invalid)

## Send the next upload without this rejection

CapWrapp uploads to App Store Connect from GitHub Actions and bumps the build number on every ship. When an upload fails, History can explain it from the full log.

[Get started free](https://capwr.app/login).

## About CapWrapp

CapWrapp turns a web app on GitHub — built with Lovable, Bolt, Base44, Cursor or by hand — into iPhone and Android apps. It adds Capacitor if the repo needs it, signs the builds, and ships them to TestFlight and Google Play from GitHub Actions, with no Mac or Xcode on your side. [Get started free](https://capwr.app/login) · [Lovable to App Store guide](https://capwr.app/guides/lovable-to-app-store)
