Claude Code iPhone Duo testing: how to check every fold pose without the phone
Short answer
Yes, Claude Code can now run your app on an iPhone Duo simulator and fold it for you. It is a public beta in Claude Code Desktop on a Mac. Update to Claude Desktop v4.29.0 or later, install Xcode 27.1 with the iOS 27.1 simulator runtime, open your project in the Code tab and ask: Run the app on the iPhone Duo simulator and check the settings screen closed, half open, and open. Claude opens the simulator pane next to the chat, switches between the three poses (or any hinge angle from 1 to 179 degrees) and checks each layout. It needs a Pro, Max, Ultra, Team or Enterprise plan and works on simulated devices only.
Anthropic's developer account posted the update on X at 01:18 Dubai time on November 17 (21:18 UTC on November 16). By about 10:30 Dubai time the post had 514,446 views, 10,051 likes and 1,998 bookmarks (X API). The short version: Claude Code on desktop now supports iPhone Duo in the iOS simulator, and Claude can fold and unfold the device to test each layout.
That matters because most developers do not have an iPhone Duo on their desk, and Apple has put a date on it. Its developer news post of October 5 says iPhone Duo went on sale October 23, 2026, and that starting April 2027 any app or game submitted to the App Store will need iPhone Duo screenshots. Below is what you need, the exact prompts, how folding works, the terminal route and the limits.
What does Claude Code's iPhone Duo support do?
Claude Code Desktop has had an iOS Simulator pane since July (MacRumors covered it on July 21). When Claude builds, installs or checks your app, the pane opens next to the conversation and streams the simulator screen live. Claude taps through the app and reads the screen to verify its own changes, and you can tap along. The pane drives the simulator directly, so it does not need computer use and does not take over your screen.
The November update adds the iPhone Duo. According to the Claude Code docs page "Test iOS apps in the simulator", you can run your app on an iPhone Duo simulator in that pane and fold it into each of its poses: closed, half open and open. Claude can do the folding itself when you ask, so one prompt can check a screen in all three states.
There is a second part in the same thread: if you are adapting an existing app, ask Claude to get it ready for iPhone Duo. Claude Code can offer to install Apple's App Resizability skill, which scans your project for layout problems and suggests fixes. Claude makes the fixes you approve and checks them on the Duo simulator.
What do you need to test on iPhone Duo in Claude Code?
- A Mac. Apple's iOS Simulator only runs on macOS.
- Claude Desktop v4.29.0 or later. The basic simulator pane works from v1.24012.0, but iPhone Duo needs the newer build. Update with Claude > Check for Updates… and restart.
- Xcode 27.1 or later with the iOS 27.1 simulator runtime. That runtime includes the iPhone Duo simulator. If it is missing, download it in Xcode's Components settings.
- A paid Claude plan. The pane is available on Pro, Max, Ultra, Team and Enterprise. It is not available in Enterprise organizations with a HIPAA configuration, or if you use Claude Code through a third-party provider.
- A local session. Cloud and SSH sessions run on a machine that cannot reach the simulators on your Mac.
If you have more than one Xcode installed, the pane uses whichever one xcode-select points at. Check with xcode-select -p, switch with sudo xcode-select -s /Applications/Xcode.app (use the path of your 27.1 install), then quit and reopen Claude Desktop.
How do you run your app on the iPhone Duo simulator?
- Open your iOS project in Claude Code Desktop: Code tab, new session, your app's folder as the project folder.
- Name the device in your prompt. The docs' example:
Run the app on the iPhone Duo simulator and check the settings screen closed, half open, and open. - Allow the device once. The first time Claude uses a simulator, the app asks for consent to control it and take screenshots. You give it once per device, not once per session.
- Approve the build and launch. Building, installing and launching the app still follow your session's permission mode, because
xcodebuildruns your project's build scripts on your Mac. - Watch the pane. While Claude drives the device you will see a "Claude is using this device" badge. Wait for it to clear before you tap, so the result reflects the app and not your input.
If the device menu does not list an iPhone Duo, pick Add simulator… at the bottom of the list and choose an iPhone Duo device type. If the pane says no simulators were found at all, install the iOS runtime from Xcode's settings or run xcodebuild -downloadPlatform iOS.
How do you fold the iPhone Duo in the simulator pane?
Two ways, both from the docs:
- Fold it yourself. Click one of the three pose buttons next to the rotate button. Hover to see the names: Closed, Half open, Open. For an angle in between, hover over the pose buttons and drag the slider that appears.
- Ask Claude to fold it. Ask for one of the three poses, or for a half-open hinge angle from 1 to 179 degrees.
A few prompts worth copying. The first comes from the docs; the other two are our own wording built on what the docs say Claude can do:
Run the app on the iPhone Duo simulator and check the settings screen closed, half open, and open.
Get my app ready for iPhone Duo. Show me each fix before you make it, then recheck every screen in all three poses.
Fold the iPhone Duo to 90 degrees and tell me if any button or text sits on the fold.
You can also save what you see. In the pane, Cmd+S saves a screenshot and Cmd+R starts a screen recording, both to your Desktop. Rotate with Cmd+Right Arrow.
Get the AI tools worth your time
Era of Minds by Salman Ahmed: one short email with the AI tools and news that actually matter. Free.
You're in. Check your inbox.
Confirm your email and your 50 AI prompts are on their way.
Free. Unsubscribe anytime.
What is Apple's App Resizability skill, and how does Claude use it?
Xcode ships agent skills, Markdown instructions that guide coding agents. For iPhone Duo the one that matters is app-resizability. Apple's "Three steps to make your app shine on iPhone Duo" page makes it step one: ask Xcode's coding assistant to "get my app ready for iPhone Duo", and the skill scans for the patterns that break on a phone that changes size. Apple is clear that it "finds most issues, but not all of them."
What it looks for, per Apple's page:
- Sizing from
UIScreen.main.boundsinstead of the view or window. - Layout decisions based on
UIDevice.current.orientationorinterfaceOrientation. - Treating
userInterfaceIdiom == .pador "regular width" as "this is an iPad". - Hard-coded device sizes such as
bounds.height == 844. - Full-bleed images set to fill, which can crop important content on the wider inner display.
In Claude Code Desktop you do not have to install it by hand. Before a layout check on an iPhone Duo, Claude may ask to export Xcode's agent skills to your personal skills folder. Once they are there, Claude Code loads them in your other projects too. If you would rather do it yourself, Apple's page gives the command xcrun agent skills export. Sarunw notes that Xcode 27.1 replaces the older uikit-app-modernization skill with app-resizability but does not delete the old one, so remove it if you exported skills from an earlier Xcode. Otherwise your agent sees two skills for the same job.
Can you test iPhone Duo layouts from the Claude Code CLI?
Partly. The folding controls described above belong to the Desktop pane. In the terminal there are two routes:
- The Xcode plugin. In the same thread, Anthropic says the Xcode plugin is now in its Claude Code plugin marketplace, and Claude can use it to build, run and test your app, render SwiftUI previews and search developer docs. Run
/plugin, which opens on the Discover tab, typexcodeand press Enter to install. Claude Code adds Anthropic's marketplace for you the first time you start an interactive session, per the plugin docs. - Computer use. From the CLI, Claude reaches the iOS Simulator through computer use, controlling it on your screen like a mouse. That is a research preview on macOS for Pro, Max and Ultra plans only (not Team or Enterprise), and it needs an interactive session, so it does not work with
-p.
If folding through each pose is the point, the Desktop app is the simpler path.
What are the limits?
- Simulated devices only. Claude cannot control a physical iPhone or iPad. To check on real hardware, run it from Xcode yourself and attach a screenshot.
- Screenshots leave your Mac. The docs say Claude's screenshots of the device are sent to Anthropic and kept under your normal conversation retention settings. Do not sign in to real accounts on a simulator Claude uses.
- The camera is out of reach. SwiftLee's simulator guide notes the iPhone Duo simulator cannot reproduce switching between the outer, inner and rear cameras. Camera apps still need a real device.
- Admins can switch it off. The
disableMobileSimulatorToolsmanaged setting blocks Claude's simulator tools, andrequireCoworkFullVmSandboxdisables the pane entirely. - It is a beta, and we have not run it. This guide is built from Anthropic's and Apple's documentation as of November 17, 2026. We did not test it on our own Mac.
Why does the iOS SDK version change what you see?
Apple's page explains why the same app can look different on the Duo depending on how it was built. Apps built with the iOS 26 SDK or earlier run, but when the device is open they sit in the center of the display with empty space around them. With the iOS 27 SDK they fill most of the inner display. Built with the iOS 27.1 SDK or later, they use the full display, and toolbars and tab bars turn vertical below the status bar. So before you judge a layout in the simulator, check which SDK you are building with. A screen that looks fine at 26 can break once the bars go vertical at 27.1.
What we'd do first
Pick the one screen your users open most, often settings or the main feed, and run the docs' prompt against it. Fix what breaks closed and open, then ask for a 90-degree half-open check, which is where content most often lands on the fold. Only after that, let Claude run the App Resizability skill across the whole project, approving fixes one by one. If you already use Claude Code for front-end work, the Modern Web Guidance skill does a similar legacy scan for websites, and our desktop themes guide covers more of what changed in the Desktop app this month.
Get the AI tools worth your time
Era of Minds by Salman Ahmed: one short email with the AI tools and news that actually matter. Free.
You're in. Check your inbox.
Confirm your email and your 50 AI prompts are on their way.
Free. Unsubscribe anytime.
FAQ: Claude Code and iPhone Duo testing
Can Claude Code test apps on iPhone Duo?
Yes. Since November 16, 2026, Claude Code Desktop on macOS can run your app on an iPhone Duo simulator in its iOS Simulator pane (public beta). Claude can fold the device to closed, half open or open, or to any hinge angle from 1 to 179 degrees, and check each layout.
What do I need to use iPhone Duo in Claude Code?
A Mac, Claude Desktop v4.29.0 or later, and Xcode 27.1 or later with the iOS 27.1 simulator runtime, which includes the iPhone Duo simulator. The pane works in local sessions on Pro, Max, Ultra, Team and Enterprise plans.
Does it work on the free Claude plan?
The Claude Code docs list the iOS Simulator pane for Pro, Max, Ultra, Team and Enterprise plans. The Free plan is not on that list. It is also unavailable in Enterprise organizations with a HIPAA configuration and when you use a third-party provider.
What prompt should I use?
The docs' example is: Run the app on the iPhone Duo simulator and check the settings screen closed, half open, and open. For an existing app, ask Claude to get it ready for iPhone Duo, and it can offer to install Apple's App Resizability skill and recheck its fixes on the Duo simulator.
Why is iPhone Duo missing from the simulator list?
Install Xcode 27.1 or later and its iOS 27.1 simulator runtime from Xcode's Components settings, make sure xcode-select points at that Xcode, then restart Claude Desktop. In the pane's device menu, choose Add simulator and pick an iPhone Duo device type.
Can I test iPhone Duo from the Claude Code CLI?
The fold controls are in the Desktop app's pane. In the terminal, Claude reaches the iOS Simulator through computer use, a macOS research preview for Pro, Max and Ultra plans, and Anthropic's new Xcode plugin lets Claude build, run and test the app and render SwiftUI previews.
Can Claude test on a real iPhone Duo?
No. Claude drives simulated devices only. To check a physical device, run the app on it from Xcode yourself, then describe what you see or attach a screenshot to the conversation.
What is Apple's App Resizability skill?
An agent skill that ships with Xcode 27.1 (app-resizability). It scans for code that breaks when the screen changes size, such as UIScreen.main sizing, orientation-based layout, idiom checks and hard-coded device sizes, and suggests fixes. Export it with xcrun agent skills export, or let Claude Code export it for you.
Sources
- Claude Code docs: Test iOS apps in the simulator (requirements, iPhone Duo, folding, permissions, limits)
- Claude Code docs: Computer use from the CLI and Discover and install plugins
- Apple Developer: Three steps to make your app shine on iPhone Duo and Prepare and submit your apps for iPhone Duo (Oct 5, 2026)
- Sarunw: How to export Xcode agent skills with xcrun and SwiftLee: iPhone Duo Simulator
- On X: @ClaudeDevs launch post, App Resizability reply, Xcode plugin reply (metrics via X API, November 17, 2026, about 10:30 Dubai time)
Get AI news decoded weekly.
Decoded is a free weekly email from Era of Minds. The AI stories that actually matter, in plain English. Five minutes, no hype.
You're in. Check your inbox.
Confirm your email and your 50 AI prompts are on their way.
Free. Unsubscribe anytime. Free gift: 50 AI prompts that actually work, sent the moment you join. More about Decoded