Claude Code on desktop folds an iPhone Duo to test layouts
Anthropic on November 16 added the iPhone Duo to the iOS Simulator pane in Claude Code on desktop. The feature is in public beta, and Claude can fold the simulated device closed, half open or open to test your app’s layout in each pose. If you build iOS apps on a Mac, you need two updates first: Claude Desktop v4.29.0 or later and Xcode 27.1 or later, according to Anthropic’s documentation.
What to update
Both versions are newer than what the simulator pane that arrived in July needs. The pane itself runs on Claude Desktop v1.24012.0 or later and works with Xcode 26.x. To update the app, open Claude > Check for Updates… and then restart it. Xcode 27.1 also needs its iOS 27.1 simulator runtime, which contains the iPhone Duo simulator. If the runtime is missing, download it from the Components section of Xcode’s settings. Xcode 27.1 has been out as a full release since October 15, Blake Crosley wrote, so the requirement doesn’t depend on a beta toolchain.
If you have more than one Xcode installed, the pane uses whichever one xcode-select points to. Switch it to 27.1 or later, then quit and reopen Claude Desktop. Running xcode-select -p shows which install is currently selected.
Folding the Duo
To get the Duo into the pane, name it in your request or switch to it in the pane’s device menu. If the menu doesn’t list one yet, choose Add simulator… at the bottom of the device list and pick an iPhone Duo device type. You can fold it yourself with the three pose buttons next to the rotate button: Closed, Half open and Open. For an angle in between, hover over the buttons and drag the slider that appears above them. You can also ask Claude for a pose, or for a half-open hinge angle from 1 to 179 degrees. In Xcode’s own Device Hub, Crosley found that the three poses are called Closed, Book and Open.
Before it checks a layout on the Duo, Claude may ask whether to export Xcode’s agent skills to your personal skills folder. Xcode ships these skills to guide coding agents, and they include one for getting an app’s layout ready for the iPhone Duo. Read that prompt before you answer, because once the skills are in that folder, Claude Code loads them in your other projects as well.
Where it stops
The pane only works on a Mac and in local sessions. In cloud and SSH sessions, Claude runs on a machine that can’t reach the simulators on your Mac. The pane isn’t available if you’re in an Enterprise organization with a HIPAA configuration enabled or if you use a third-party provider. Organizations can also block Claude’s simulator tools with the disableMobileSimulatorTools managed setting. Claude drives simulated devices only, so on a real iPhone you run the app from Xcode yourself and then describe what you see or attach a screenshot.
The first time Claude uses a device, you’re asked to allow it, once per device rather than once per session. After that, tapping, typing and screenshots run without prompts. Building the app, installing and launching it, and opening a URL on the device still follow your session’s permission mode. Claude’s screenshots are sent to Anthropic and kept under your normal conversation retention settings, so don’t sign in to real accounts on a device Claude uses.
If you work in the terminal, the Xcode plugin is now in the official Claude Code plugin marketplace. With it, Claude can build, run and test your app, render SwiftUI previews and search developer docs. To install it, run /plugin install xcode@claude-plugins-official.
Up next
Claude Code team has Claude test the app before committing
About 90% of the Claude Code team’s code is written and reviewed by Claude, and before committing, Claude boots the app and tests it the way a QA engineer would. Would you let Claude commit after its own test run, or check every change yourself?
Related stories
- Claude Code on desktop can now drive the iOS Simulator
- Claude Code 2.1.318: login expiry warning, runner log change
- Claude Code 2.1.312 stops overwriting big CLAUDE.md files
- Claude Code 2.1.311 compacts past 200K instead of stopping
- Claude Code 2.1.310 brings Monitor to Bedrock and Vertex
- Claude Code 2.1.307 moves API code to version 2026-10-21
Comments
No comments yet. Be the first.
Join the conversation
Sign in to leave a comment. It appears after moderation.

