Anthropic's Claude Code Now Tests Apple's Foldable iPhone Duo Layouts Automatically
Claude Code Desktop now supports Apple's iPhone Duo in the iOS simulator pane, in public beta. Claude can fold and unfold the virtual Duo to test each layout alongside the conversation. Requires Claude Code on desktop (macOS) with Xcode 27.1 or later.

Takeaways
- Claude Code Desktop now supports Apple's iPhone Duo in the iOS simulator pane, in public beta.
- Claude can fold and unfold the virtual Duo to test each layout alongside the conversation.
- Requires Claude Code on desktop (macOS) with Xcode 27.1 or later.
- Claude can install Apple's App Resizability skill to scan projects and suggest layout fixes.
- Official Xcode plugin now in the marketplace:
/plugin install xcode@claude-plugins-official. - Available on Pro, Max, Team, and Enterprise plans, excluding HIPAA-configured orgs.
Anthropic has added iPhone Duo controls to the public beta of Claude Code’s iOS Simulator pane. Developers can launch Apple’s foldable-device simulator beside a chat, install an app, interact with its interface, and change the virtual hinge angle while the app runs. The integration reduces the manual work required to check layouts across the Duo’s display modes.
| Requirement | Details |
|---|---|
| Host | macOS running Claude Code Desktop |
| Toolchain | Xcode 26.x is required; Xcode 27 is not yet supported. |
| Session | Local Claude Code session |
| Plans | Pro, Max, Team, and Enterprise |
| Exclusion | Enterprise organizations configured for HIPAA |
Anthropic documents setup and access requirements in its desktop documentation .
Foldable screens multiply the test matrix
The iPhone Duo adds layout states that conventional iPhones lack. Apps can move between outer and inner displays, resize as the device opens or closes, rotate into different orientations, and run in Split View. Interfaces must also handle hinge-angle changes and vertical toolbar arrangements.
Xcode 27.1 introduced the Duo simulator runtime through Device Hub, Apple’s 3D environment for changing device pose, rotation, and hinge angle. It reproduces the Duo’s display states and exposes its hinge API, but checking every relevant combination by hand requires repeated simulator adjustments. Claude Code can perform those adjustments during a test session.
A simulator loop inside the chat
- Launch the app: Ask Claude to run or test the project, and the simulator pane opens beside the conversation.
- Change the device: Claude can fold or unfold the virtual Duo while the app remains active.
- Inspect the interface: The pane streams the device screen live, allowing both Claude and the developer to interact with the app.
- Verify a fix: Claude can rebuild the project and check the updated layout in the same simulator session.
Teams adapting an existing project can ask Claude to prepare it for iPhone Duo. Claude may then offer to install the App Resizability skill, whose current version supports SwiftUI and Duo layouts. The skill scans the project for layout problems, proposes patches, applies approved changes, and verifies the result in the simulator.
Terminal access takes a different route
Terminal users can add Anthropic’s official Xcode plugin from the Claude Code marketplace:
The plugin can build, run, and test an app, render SwiftUI previews, and search Apple’s developer documentation. Its simulator access uses Claude’s computer-use system to operate the visible simulator window. The integrated simulator pane remains specific to Claude Code Desktop.
Five limits shape the workflow
- Local sessions only: Cloud and SSH sessions cannot access simulators running on the Mac.
- Simulated hardware only: Claude cannot control a physical iPhone or iPad, leaving device-specific validation to the developer.
- Four panes per session: Each simulator pane belongs to the session that opened it.
- Screenshots follow retention settings: Device screenshots captured by Claude are sent to Anthropic under the conversation’s retention policy. Anthropic advises against using real accounts on a controlled simulator.
- Apple’s runtime restrictions remain: Initial launch can take several minutes, StandBy is unavailable, and most app extensions cannot run or be debugged in the Duo runtime.
Where it fits in an iOS workflow
Existing iOS apps can run on iPhone Duo without a full rewrite, while Apple’s newer APIs support layouts that need foldable-specific behavior. Teams can scan a project with App Resizability, review the proposed patches, test approved changes across the outer and inner displays, and reserve final validation for physical hardware.
Claude Code Desktop now combines Swift editing, builds, simulator control, and visual inspection in one session. That tighter loop is particularly useful for the Duo, where each screen may need checks across multiple poses, sizes, and display transitions.
Reporting is indexed from AlphaSignal. Rights remain with the original publisher and cited sources.
Read original report

