Skip to content
Winter Sale from $619, until 31st December 2026 Book now
Playbooks for AI-built app releases iOS · App Store

Privacy Manifests with AI Agents: The Agent Finds the APIs, You Choose the Reasons

A coding agent is quick at the mechanical half of a privacy manifest: finding required-reason API usage in your code and binaries, listing which SDKs ship their own manifests and producing a valid PrivacyInfo.xcprivacy. It is unreliable at the other half – choosing reason codes and describing data use truthfully – because that depends on what your app really does with the data. Keep those decisions human and make the agent show its evidence.

7 min read

Key takeaways

  • Three things must agree: your app's privacy manifest, the manifests inside your SDKs and the App Privacy answers in App Store Connect.
  • Use the agent for inventory – source search, binary symbols, SDK versions, extension targets – with a file reference for every finding.
  • Reason codes are statements about your app's behaviour, so a person confirms each one against Apple's documentation.
  • Never let the agent copy an SDK's declarations into your app's manifest to silence an upload email.
  • A CI check keeps the manifest under review whenever dependencies change.

Three layers that must tell the same story

Apple's privacy requirements for an iOS app come in three layers, and agent-built apps often let them drift apart:

LayerWhere it livesWho is responsible
Your app's privacy manifestPrivacyInfo.xcprivacy in the app bundle, plus one per extension that needs itYour team – drafted by the agent, approved by a person
SDK privacy manifestsInside each third-party frameworkThe SDK vendor; you keep the SDK current
App Privacy detailsApp Store Connect, shown on your product pageThe account holder

The app manifest declares the required-reason APIs your own code uses, with an approved reason per category, and can also describe collected data types and tracking. Apple lists the categories and reason codes in Describing use of required reason API. When an upload references one of these APIs without a declaration, App Store Connect sends ITMS-91053. Our ITMS-91053 guide covers the related error codes and the fixes per framework; this playbook is about running the work with an agent.

What to hand to the agent

  • Source search. Find usage in the five categories Apple lists – user defaults, file timestamps, system boot time, disk space and active keyboards – across your code and vendored dependencies.
  • Binary check. After an archive, inspect the app executable and embedded frameworks for the matching symbols. Statically linked libraries end up inside your own executable, so a source search alone misses them.
  • SDK inventory. Every third-party SDK with its version, whether it ships a manifest and whether a newer release adds one.
  • Extension targets. Widgets, share extensions and notification service extensions are separate bundles; list what each one uses.
  • Data flows. Which user data leaves the device, to which endpoint or SDK – the raw material for the App Privacy answers.
  • Writing and linting. Producing the plist once the reasons are decided, running plutil -lint and confirming the file is part of the target's bundle resources.

All of this is searching, reading and checking – tasks an agent does faster and more thoroughly than a person clicking through Xcode.

Talk to an AI Code Engineer about privacy manifests and App Privacy details.

In a free call we look at what you built, tell you honestly what stands between it and an approved release – and whether you need us at all.

What the agent should not decide

Each reason code is a promise about behaviour. CA92.1 for user defaults, for example, says the app only reads data it wrote itself. An agent picks the code that looks closest to the call site; it cannot know whether a value read from disk later goes to your analytics backend, which several reasons forbid. Typical agent mistakes:

  • reason codes that "roughly fit", or codes that do not exist at all,
  • the SDK-only wrapper reasons declared in the app's own manifest,
  • declarations copied from a framework's manifest into the app's manifest to make an email disappear,
  • NSPrivacyTracking set to false while an ads or attribution SDK in the project tracks users,
  • a manifest that silently vanishes when a cross-platform project regenerates its native folder.

The App Privacy questionnaire works the same way: the agent prepares a table of data types, purposes and destinations, the account holder answers. Mismatches between labels and behaviour lead to rejections under Guideline 5.1.1 or Guideline 5.1.2 – and features that send personal data to third-party AI services need a disclosure and the user's permission as well.

A six-step workflow

  1. Inventory, read-only. Run the prompt below in plan mode or your tool's read-only setting.
  2. Evidence table. One row per finding: category, file and line or binary, own code or which SDK, and what the value is used for.
  3. Human decision. For rows from your own code, pick the reason from Apple's list – or change the code if none fits. For SDK rows, update the SDK.
  4. Agent writes. The agent creates or edits the manifest for the app and each affected extension, lints it and puts the evidence table into the pull request description.
  5. Verify the archive. A person generates the privacy report from the archive in Xcode's Organizer and uploads the build to TestFlight. No ITMS-91053 or ITMS-91056 email after processing means the declarations were accepted.
  6. Sync App Privacy. The account holder updates the answers in App Store Connect from the same table, so code and product page describe the same app.

An inventory prompt you can reuse

Audit this iOS project for Apple's required-reason APIs. Do not edit files.
1. Search our source and vendored code for UserDefaults, file timestamp
   APIs (creationDate, modificationDate, stat, getattrlist), systemUptime,
   mach_absolute_time, disk space APIs (volumeAvailableCapacity, statfs)
   and activeInputModes.
2. For each hit: category, file:line, own code or which library, and what
   the value is used for (stays on device / sent to a server / unclear).
3. List all third-party SDKs with version and whether they include
   PrivacyInfo.xcprivacy.
4. List every app and extension target and whether it has a manifest.
Do not propose reason codes. Mark uncertain items as UNSURE.

The instruction not to propose reason codes is deliberate. It keeps the agent from presenting a guess as a finding. Once you have decided, a second, short prompt asks it to write the file with exactly the codes you name.

Keeping the manifest true after launch

Privacy manifests go stale the way documentation does: someone adds an SDK, nobody revisits the declarations. Add a rule to the agent's memory file – any change to dependencies, or to code in the five categories, needs an updated evidence table in the same pull request – and a CI step that lints every manifest in the archive and fails when the app bundle has none. For React Native and Expo apps, declare the manifest in the app configuration so regenerated native projects keep it; our article on Claude Code for React Native and Expo covers that setup.

Android has its own counterpart in the Data safety form; see Data safety with AI agents. If you prefer to hand the whole topic over, our AI Code Engineers audit manifests, SDKs and App Privacy answers as part of the iOS submission service.

Privacy manifest checklist for agent-built iOS apps

  • The agent produced an evidence table covering own code, vendored code, compiled binaries and every extension target.
  • Every reason code in the app manifest was chosen by a person from Apple's current list.
  • SDKs flagged without a manifest were updated rather than declared in the app's manifest.
  • NSPrivacyTracking and tracking domains reflect what ads and attribution SDKs actually do.
  • All manifests pass plutil -lint and are included in their targets' bundle resources.
  • A TestFlight upload processed without ITMS-91053 or ITMS-91056 emails.
  • App Privacy answers in App Store Connect match the evidence table, including data sent to AI services.
  • CI fails when the app bundle has no manifest, and dependency changes require an updated evidence table.

Frequently asked questions

Can an AI agent write my PrivacyInfo.xcprivacy file?

It can write a valid file and find the APIs that need declaring. The reasons inside the file should be chosen by a person who knows what the app does with the data, because each reason is a promise to Apple about behaviour.

The upload email names a framework, not my app. What should the agent do?

Update that SDK to a version that ships its own manifest. Copying the framework's declarations into your app's manifest is the wrong fix – the app manifest describes only your own code's practices.

Does the privacy manifest replace the App Privacy answers in App Store Connect?

No. They are separate. The manifest travels with the binary; the App Privacy details are answered in App Store Connect and shown on your product page. Both should come from the same evidence so they agree.

Can you check our privacy setup before submission?

Yes. Book a free call and an AI Code Engineer reviews your manifests, SDK versions and App Privacy answers with you, and can take over the submission in your own account.

Free, 15 minutes, no obligation

Get your app from agent output to approved release.

Our AI Code Engineers take apps built with Claude Code, Codex, Cursor, Lovable, Base44 and co. through signing, CI/CD, store listings and review – in your own developer accounts.

AI tools, store policies and requirements change quickly – always check the current documentation of the tools and stores you use. This article is independent advice and not affiliated with or endorsed by Apple, Google, Anthropic, OpenAI or any other company or product mentioned; all trademarks belong to their owners.

Ready to ship?

Talk to an AI Code Engineer – free, 15 minutes, in English or German.

Book a call for free

Chat and hotline are open 24/7. Answers from our senior AI Code Engineers (real humans) usually take closer to 72 hours than 1 hour.