Apple releases Xcode plugin to test iOS apps via Claude Code

Apple launched an official plugin allowing Claude Code to build, run, and test applications directly within Xcode and the iOS Simulator.

cpaua3 min13
Apple releases Xcode plugin to test iOS apps via Claude Code

Apple has released an official plugin that enables Claude Code to build, launch, and test applications directly in Xcode, including the ability to open iPhone simulators. This integration allows the AI to verify code changes by interacting with the app interface in real-time, streamlining the development cycle for iOS projects.

To install the plugin, users can run the following command:

bash
/plugin install xcode@claude-plugins-official

iOS Simulator pane in Claude Code Desktop

The iOS Simulator pane, currently in public beta for macOS, allows users to see their app running next to the Claude Code conversation. When Claude builds or installs an app, the pane opens automatically to stream the device screen live. This allows developers to watch the AI test the app or manually interact with the interface while the agent continues working.

The pane drives the simulator directly and does not require computer use permissions or take over the screen. However, when accessing the iOS Simulator via the CLI, Claude uses computer use to control the simulator on the screen using mouse-like movements.

System requirements and Xcode configuration

The tool requires Claude Desktop v1.24012.0 or later on macOS. It depends on Apple's simulator tooling, meaning Xcode with the iOS platform must be installed. While it works with various versions, Xcode 26.x or Xcode 27 is recommended.

If multiple versions of Xcode are installed, the pane uses the one pointed to by xcode-select. To change the active installation, users can run:

bash
sudo xcode-select -s /Applications/Xcode-26.4.app

Interactive control and device management

The simulator pane is interactive, allowing users to tap, swipe, and use hardware shortcuts like Cmd+Shift+H for Home or Cmd+L to lock the device. Users can also rotate the device or save screenshots and recordings to the Desktop using Cmd+S and Cmd+R.

Claude can target specific devices if named in the request, such as the iPhone SE simulator. If no device is specified, it uses one that is already running. The system automatically shuts down simulators booted by Claude Code 10 minutes after a device is detached, when the session is archived, or when the app is quit.

Permissions and security constraints

Claude requires explicit consent to control a device and take screenshots for the first time. While tapping and typing run without prompts after initial approval, three specific actions still follow the session's permission mode: building the app via xcodebuild, installing/launching the app, and opening URLs on the device.

The tool only supports simulated devices and cannot control physical iPhones or iPads. Additionally, the simulator pane is unavailable for Enterprise organizations with HIPAA configurations enabled or for those using third-party providers.

Sources

Test iOS apps in the simulator - Claude Code Docs

Share

Author

cpaua

VibeCode blog admin. Writing about vibe coding, AI and open source.

Related news

Comments

To leave a comment, log in
Loading...

Weekly digest

The best of vibe coding, AI agents and open source — once a week, no spam.