Apple releases official Xcode plugin for Claude Code: build and test iPhone apps from the agent

Apple has an official Xcode plugin for Claude Code. It sits in Anthropic's claude-plugins-official directory with "Apple Inc." in the author field, confirmed on November 8. One command installs it. After that, Claude can build and test iPhone apps from the agent itself. The simulator or a real device. SwiftUI previews. Build logs when something breaks.

Apple published nothing about it. The story spread on X instead. About 103 posts matched Claude Code and Xcode since November 7, 00:00 UTC, with the busiest window at 17:00 to 21:00 UTC.

What the Xcode plugin does inside Claude Code

The marketplace entry describes the job in one sentence: work with Xcode projects from Claude Code, build, run and test schemes, render SwiftUI previews, drive simulators and devices, read build logs and diagnostics, and search Apple developer documentation. The agent gets the whole loop. Write the code, build it, see why it failed, fix it.

Xcode 27 agents interface on Mac

The X post that carried the story, from RoundtableSpace on November 7 at 12:24 UTC, drew about 265,500 impressions and 3,896 likes. X News opened its own story page, updated around 20:42 UTC the same day.

Install is one line: /plugin install xcode@claude-plugins-official

That is the whole install. AGTP posted the command on November 7. One requirement: the latest Xcode must be on your Mac.

This matters more than it sounds. The plugin is not stored in the marketplace repo. Its source entry is a local command, xcrun agent plugin path --plugin-format claude, in link mode. What you get is the plugin that ships inside your installed Xcode. It tracks your Xcode version, not the marketplace.

The marketplace's CI had to change before this was even possible. Pull request 7015, "re-pin validator and allow the xcode command source," was needed to accept a command as plugin source.

Claude Code could already drive Xcode since February

argofowl put the change in one line on November 7: apple made a claude code plugin; claude code could already do all of this through xcode since february, now it's one install instead of a manual setup. That matches Anthropic's own earlier announcement of the Claude Agent SDK integration in Xcode 26.3, which also made the same capabilities available over the Model Context Protocol, so Claude Code could capture Previews without leaving the command line.

SwiftUI preview rendering in Xcode 27

What is new is the packaging. No manual MCP wiring. The official directory now carries the entry, Apple's name on it, and a command that reads the Xcode you already have.

PR 6338 merged November 6 after five weeks in review

Pull request 6338 opened on September 30, written by chaoshuai-ant, and carried the change from PR 6259 onto a branch inside the repo so its checks could run. tobinsouth merged it on November 6 at 00:55 UTC. Squash merge, commit ff920a4, five checks passed. The commit message is plain: this plugin exposes Xcode capabilities via MCP to enable native development for Apple platforms. claude plugin validate . passes.

What nobody has confirmed yet: which Xcode version ships the xcrun agent command. Apple has published no note on its developer site. MacRumors, 9to5Mac, Mark Gurman and Ming-Chi Kuo had no follow-up as of November 8, 00:25 UTC. Treat the requirement as "latest Xcode", the wording everyone posting the install command used.

Developers running local models can pair the plugin with our Xcode chat tip on adding a local Ollama model and the older Claude Code with a local Ollama model walkthrough. For the current toolchain, the Xcode 27.1 Duo simulator coverage lists what ships today.

Photo: Apple (developer.apple.com/xcode/)
Source: Anthropic claude-plugins-official marketplace, GitHub PR 6338, RoundtableSpace on X

Previous Article 10 reasons Apple One Premier gets better with iOS 27.3