Skip to content
AppScend

Get your iOS app approved with Xcode

  • From Xcode 26.3, Claude Code or Codex in Terminal can build your app through Xcode’s own tools.
  • One more command adds AppScend to that agent, which then takes the same app through App Review, asking before anything reaches Apple.
  • AppScend’s test run then uses your app in the Simulator the way a reviewer does, and never spends real money.
Add AppScend to your agent
claude mcp add --scope user --transport http appscend https://api.appscend.ai/mcp

AppScend checks your iOS app the way App Review does, ranks what will get it rejected, and your own coding agent fixes it on a branch you review.

Last updated November 2026 · All agents

Build Plantly with Xcode’s tools, then tell me what App Review would flag.Built it through Xcode with no errors.→ get_app area "approval"Blocker5.1.1  The build has no privacy manifest, but the app uses required-reason APIsfound by the test run · as builtWarning2.1  The iPad app relies on UIRequiresFullScreen, which iPadOS 27 ignoresfound by the test run · Info.plistThe first goes first: App Store Connect won’t take the upload without that manifest.

An example in your terminal, with a sample app, Plantly.

How do I use AppScend with Xcode?

Turn on Allow external agents to use Xcode tools in Xcode’s Intelligence settings, give Claude Code or Codex Xcode’s tools with xcrun mcpbridge, then add AppScend to that same agent and sign in through your browser.

  1. From Xcode 26.3, agents in Terminal such as Claude Code and Codex can use Xcode’s own tools, so your agent can build your app through Xcode and take it through App Review with AppScend. First, in Xcode → Settings → Intelligence → Model Context Protocol, turn on Allow external agents to use Xcode tools.

  2. Then give Claude Code Xcode’s tools:

    claude mcp add --transport stdio xcode -- xcrun mcpbridge
  3. Or give them to Codex:

    codex mcp add xcode -- xcrun mcpbridge
  4. And add AppScend to the same agent. For Claude Code (then run /mcp in it to sign in):

    claude mcp add --scope user --transport http appscend https://api.appscend.ai/mcp
  5. Or for Codex (it signs in right away; codex mcp login appscend signs in again):

    codex mcp add appscend --url https://api.appscend.ai/mcp

These steps follow Xcode’s own docs.

What can you ask your agent to do with Xcode?

Ask your agent in Terminal, with your project open in Xcode: it builds through Xcode’s tools, and checks, fixes and submits through AppScend’s. The replies use Plantly, a sample app.

Have my Mac add the privacy manifest on a branch, then prove it.→ fix_finding→ get_job wait_seconds: 25Your Mac’s agent added PrivacyInfo.xcprivacy to the Plantly target, with a reason for each required-reason API the app calls.⎇ appscend/fix-privacy-manifest  2 files  +41 −0→ test_run proveThe run built that branch: the manifest is in the bundle now. Merge it when you’re ready.
Check the archive in the Organizer, then upload it.→ scan_app check_build→ get_job wait_seconds: 25Your Mac read the newest archive: its signing, architectures and Apple’s upload checks pass.→ app_review upload_build version "1.4"Upload 1.4 (build 43)? AppScend shows what goes up and waits for your yes.

Which way should I set up AppScend with Xcode?

Today every way in goes through your agent in Terminal: one command adds AppScend to Claude Code or Codex, or the setup prompt has that agent add it. Xcode 27’s plug-ins wait for AppScend’s plug-in.

The ways to connect Xcode to AppScend
One command in TerminalSigns inYour browser, once: you choose what it may doWhat you getAppScend’s tools, within what you allowed and your planForYou, working with your agent in Terminal
The setup promptSigns inYour browser, onceWhat you getYour agent adds AppScend to itself, checks what it may do and offers a block for AGENTS.mdForLetting your agent set itself up

What can your agent do with Xcode and AppScend?

With both sets of tools, your agent in Terminal builds the app through Xcode and reads AppScend’s findings on any plan. With an Approval Pass it also fixes, runs tests and submits, asking before anything reaches Apple.

It can

  • Through AppScend’s MCP server: your agent in Terminal reads your apps, findings, Today and test runs and does the work on every plan, and with an Approval Pass it also publishes, each publish after asking you.

It can’t, or works differently

  • A fix AppScend starts (Fix, or fix_finding) runs in the coding agent your Mac runs, on a branch of its own.
  • Open your project in Xcode before you ask your agent anything: Apple says to.
  • The Claude Agent and Codex that run inside Xcode keep settings of their own, in a folder only Xcode uses. Apple doesn’t say whether they see a server you add in Terminal, so these steps are for Claude Code and Codex in Terminal.
  • Xcode 27 adds plug-ins (skills, MCP servers and subagents, in a format Anthropic created): Settings → Intelligence → Plug-ins (under Agents) → Add Plug-in → Add from URL installs and manages one from its GitHub address. AppScend’s plug-in isn’t published yet, so use the steps above.
  • On a Mac your company manages, an admin can switch Xcode’s coding assistant off (Apple’s CodingAssistantAllowExternalIntegrations setting).

Is Xcode the same as Claude Code?

No. Xcode is Apple’s IDE, which runs agents inside it: Claude Agent and Codex since 26.3, Gemini and any ACP agent since 26.6. Claude Code is Anthropic’s agent in Terminal, which can use Xcode’s tools and AppScend’s.

Xcode and the agents people mix it up with
XcodeWhat it isApple’s IDE; it runs Claude Agent and Codex inside it since 26.3, Gemini and ACP agents since 26.6, and lends its tools to agents in TerminalWith AppScendAppScend goes to your agent in Terminal; Apple doesn’t say whether Xcode’s own agents see it thereIts docsdeveloper.apple.com
Claude CodeWhat it isAnthropic’s coding agent, run in TerminalWith AppScendTakes Xcode’s tools through xcrun mcpbridge and AppScend with its own commandIts docscode.claude.com
CodexWhat it isOpenAI’s coding agent: the Codex CLI, its IDE extension and Codex in the ChatGPT desktop appWith AppScendTakes Xcode’s tools with codex mcp add xcode and AppScend with codex mcp add appscendIts docslearn.chatgpt.com

What does AppScend check before App Review?

AppScend checks what App Review looks at: your code and in-app text against Apple’s guidelines, your App Store Connect setup, and the app itself, used in the Simulator the way a reviewer uses it.

  • Approval: the scan of your code and in-app text against App Review’s guidelines, findings ranked by how likely Apple is to reject, each fixed on its own branch by your own coding agent.
  • Store setup: App Store Connect checked against your code: subscriptions, purchases, screenshots, App Privacy and the listing, drafted from the code; nothing reaches App Store Connect before you confirm, with Undo.
  • Test run: your app used in the Simulator the way a reviewer does: the demo account, the paywall, every screen, iPad, permissions denied. It never spends real money.
  • App Review: submitting, review notes, answers to a rejection, and the release.

Questions about Xcode and AppScend

My agent doesn’t see AppScend’s tools: what should I check?
Check the agent you run in Terminal: Claude Code shows appscend in /mcp, Codex in ~/.codex/config.toml. Xcode’s tools are a separate entry, xcode, and need Allow external agents to use Xcode tools on, with your project open in Xcode.
Do I need an API key?
No. Claude Code and Codex sign in to AppScend through your browser: run /mcp in Claude Code, or codex mcp login appscend. A key from Settings → Agents is for CI or a server, where no browser opens.
Can the Claude Agent inside Xcode use AppScend?
Not by these steps. Apple says the agents inside Xcode take more MCP servers from their own settings folder or a plug-in, but it doesn’t document that folder’s files or say whether they see a server you add in Terminal, and AppScend hasn’t tried it. So these steps use Claude Code or Codex in Terminal.
Does AppScend need Xcode on my Mac?
For the test run, yes: your Mac builds the app and uses it in the Simulator the way a reviewer does, which takes Xcode and about ten minutes. Checking a build you archived reads it from Xcode’s Organizer too.
What about Xcode 27’s plug-ins?
Xcode 27 installs plug-ins, which bundle skills, MCP servers and subagents, from a GitHub address: Settings → Intelligence → Plug-ins → Add Plug-in → Add from URL. AppScend’s plug-in isn’t published yet, so the commands above are the way in for now.
Does my code leave my Mac?
Some of it. A scan on your Mac sends facts and your source files with comments and keys removed; AppScend’s checking model reads them and drops them. AppScend’s tools answer your agent in Terminal with findings and their files and lines, never your source files. npx appscend facts prints what a scan sends. Your code is never stored, except a few lines: the cleaned code lines where a check was proven right or wrong on an app with an Approval Pass (you can turn that off), snippets you choose to send to correct a check, the one line each problem your coding agent finds quotes as its evidence, and the compiler’s errors when a test run’s build fails.
Can your agent in Terminal submit my app?
Yes, with an Approval Pass, and only after asking you. submit_for_review first answers with what it would send and a confirm token; it sends only after your yes, or when you approve it on AppScend’s website. AppScend only submits a clean build: an open blocker holds it. Each submission goes with an Approval Pass.
Does it ever buy anything?
No, never with real money. The test run opens Apple’s purchase sheet, reads what it needs and cancels; when a paywall is the only way in, it buys in a free StoreKit test store on your Mac, which never reaches Apple. It never taps a button that pays or orders outside the App Store, or one that books where a price shows, and any other tap that acts outside your app waits for your yes. Buying through the App Store itself, Restore after a reinstall and a subscription ending stay your own check on your iPhone, in TestFlight. An Approval Pass is something you buy yourself, at checkout.
Is it free?
Scanning and fixing on your Mac are free on every plan. Free: 1 agent that reads and does the work; publishing comes with the app’s Approval Pass. Approval Pass: up to 10 agents that read, do the work and publish (each publish asks first). AppScend never bills for your agent in Terminal or its model: it runs on your own plan or key.