
On this page
- How do you start and fold the iPhone Duo simulator?
- Which Xcode has the iPhone Duo simulator?
- What changes in your app when the iPhone Duo folds?
- How do you check both displays on every change?
- How does a coding agent check the iPhone Duo for you?
- Can you run the iPhone Duo simulator without a Mac?
- What does the App Store require for iPhone Duo, and when?
- What else do developers ask about the iPhone Duo simulator?
- Is the iPhone Duo simulator available online?
- Does the iPhone Duo simulator show the partially open pose?
- Do I need to rebuild my app for the iPhone Duo?
- What else does Revyl do?
- Beyond the iPhone Duo, what else does Revyl run?
The iPhone Duo simulator is part of Xcode 27.1, which runs on an Apple silicon Mac with macOS Tahoe 26.6 or later, and you fold it with the pose buttons under the device in Xcode’s Device Hub (Apple, Xcode 27.1 release notes; Apple, Xcode 27 release notes; Apple, Device Hub). Revyl, verification infrastructure for cloud agents, also runs the iPhone Duo simulator in the cloud, where one command folds or unfolds it, so you or a coding agent can check the running application on both displays. The iPhone Duo simulator is included on Revyl’s Free plan.
A browser window set to the iPhone Duo’s screen sizes is enough for a quick look at a website’s layout, but it shows a web page, not iOS. To install a native iOS build or try the fold, use the iPhone Duo simulator.
How do you start and fold the iPhone Duo simulator?
On a Mac, the route is Xcode’s:
- Install Xcode 27.1 or later on an Apple silicon Mac running macOS Tahoe 26.6 or later.
- If the iPhone Duo is missing from the run destinations, choose Xcode > Settings, click Components and install the iPhone Duo runtime for your Xcode (Apple, Downloading and installing additional Xcode components). For Xcode 27.1, that is the iOS 27.1 simulator runtime. Xcode 27.2 lists an iPhone Duo runtime beside the regular iOS 27.2 runtime, and only the iPhone Duo one creates the device: in
xcrun simctl list runtimes, its identifier ends iniPhone19-4(com.apple.CoreSimulator.SimRuntime.iOS-27-2-iPhone19-4), so pick it by identifier rather than by the name “iOS 27.2” (Mochiai on Zenn, checked with Xcode 27.2 on October 31, 2026). - Choose the iPhone Duo as the run destination and run your project.
- In Device Hub, click Closed, Partially Open or Open under the device. To fold it to any angle, hold Option and drag the slider that appears below the bezel (Apple, Interacting with your app in Device Hub).
For UI tests, the Xcode 27.3 beta 2 release notes add an XCUIHinge class that sets the hinge angle; Apple’s Releases page lists that beta on November 16, 2026 (Xcode 27.3 beta 2 notes; Apple, Releases).
In the cloud, Revyl folds and unfolds a running iPhone Duo with one CLI command (Revyl CLI reference). Revyl’s iPhone Duo runs iOS 27.1. The script below starts one, opens Settings, checks a plain-language statement on the unfolded and the folded display and saves a screenshot of each. When it exits, it stops the session and saves the session report once the stop is confirmed. It needs the Revyl CLI, signed in with revyl auth login (Revyl quickstart), and jq. Save it as duo-fold.sh and run bash duo-fold.sh:
#!/usr/bin/env bash
set -euo pipefail
SESSION_ID=$(revyl device start --platform ios --device-model "iPhone Duo" \
--os-version "iOS 27.1" --computer=none --no-open --timeout 300 --json \
| jq -er '.session_id | select(type == "string" and length > 0)')
finish() {
local rc=$?
if revyl device stop --session-id "$SESSION_ID" --json | jq -e '.stopped == true' >/dev/null; then
revyl device report --session-id "$SESSION_ID" --json > duo-report.json || { [ "$rc" -ne 0 ] || rc=1; }
else
echo "Session $SESSION_ID has not confirmed it stopped. Retry: revyl device stop --session-id $SESSION_ID --json" >&2
[ "$rc" -ne 0 ] || rc=1
fi
exit "$rc"
}
trap finish EXIT
revyl device set-fold-state unfolded --session-id "$SESSION_ID" --json
revyl device open-app settings --session-id "$SESSION_ID"
revyl device wait --session-id "$SESSION_ID" --duration-ms 20000
revyl device screenshot --session-id "$SESSION_ID" --out unfolded.png
revyl device validation --session-id "$SESSION_ID" \
"Settings shows a sidebar of settings beside a second pane" --json \
| jq -e '.success == true and .step_output.validation_result == true' >/dev/null
revyl device set-fold-state folded --session-id "$SESSION_ID" --json
revyl device wait --session-id "$SESSION_ID" --duration-ms 5000
revyl device screenshot --session-id "$SESSION_ID" --out folded.png
revyl device validation --session-id "$SESSION_ID" \
"Settings fills a single column with no sidebar" --json \
| jq -e '.success == true and .step_output.validation_result == true' >/dev/null
Every command after the start passes the session ID it returned with --session-id, so the script folds and checks the device it started even when other sessions run under the same account. If the start fails or returns no session ID, the script ends before any fold. If a command fails or a validation comes back false, set -euo pipefail and the jq -e checks end the script with an error. On any exit, the trap stops the session by its ID and saves the report only after the stop returns "stopped": true; if the stop isn’t confirmed, it prints the session ID and the stop command to run again, and the script exits with an error. A failure earlier in the script keeps its own exit status. --computer=none starts a standalone device even when your shell runs inside a Revyl computer. The fold command takes folded or unfolded and prints {"fold_state":"folded","status":"set"} once the device confirms the fold (Revyl CLI reference).
We ran this script with Revyl CLI 0.2.128 on a Linux cloud machine on December 2, 2026 (UTC). It printed both fold results with "status": "set", both validations passed and the stop returned "stopped": true. The report it saved after the stop counted 6 passed steps and 2 passed validations. The unfolded screenshot came back at 2853 × 2007 and the folded one at 1398 × 2034, the sizes App Store Connect lists for iPhone Duo screenshots. The 20-second wait gives Settings time to draw on a device that has just booted; Apple’s Xcode 27.2 notes say iPhone Duo screenshots can be black for up to a few minutes after boot (27.2 notes). In an earlier version of this script with a 3-second wait, the first validation came back false, and that run stopped the session and exited with an error.
These are that run’s two screenshots. Unfolded, Settings shows a sidebar beside the General page. Folded, the General page fills one column and the back button sits on the right edge.


Which Xcode has the iPhone Duo simulator?
Apple’s developer news says Xcode 27.1 “adds development support for iPhone Duo” (Apple, October 5, 2026), and Apple calls the iPhone Duo simulator in Xcode 27.1 “the best way to test the full native experience” (Apple, Three steps to make your app shine on iPhone Duo). Apple’s Releases page lists Xcode 27.1 on October 15, 2026 and Xcode 27.2 on October 29, 2026 (Apple, Releases). Both need macOS Tahoe 26.6 or later (27.1 notes; 27.2 notes), and Xcode 27 installs and runs only on Apple silicon Macs (Xcode 27 notes, Intel deprecation).
The SDK you build with decides how your app uses the iPhone Duo’s displays. Apple describes three cases on its prepare page:
- Built with the iOS 26 SDK or earlier, your app runs on the iPhone Duo but won’t adapt to all layouts.
- Built with the iOS 27 SDK, it resizes to fill most of the inner display and still avoids the status bar on the right edge.
- Built with the iOS 27.1 SDK or later, it uses the full display, with toolbars and tab bars placed vertically below the status bar.
Before you ship a build with the iOS 27.1 SDK, Apple asks you to make sure your content adapts to the bars becoming vertical (Apple, prepare page).
In Xcode 27.1, StandBy is unavailable in the iPhone Duo simulator runtime, and so is running and debugging most app extensions (27.1 notes). Xcode 27.2 adds StandBy for the iPhone Duo in Device Hub (27.2 notes).
What changes in your app when the iPhone Duo folds?
Closed, the iPhone Duo uses a 5.4-inch outer display. Open, it uses a 7.6-inch inner display (Apple Newsroom).
| Outer display (closed) | Inner display (open) | Source | |
|---|---|---|---|
| Size | 5.4 inches | 7.6 inches | Apple Newsroom |
| Resolution | 1398 × 2034 pixels at 460 ppi | 1878 × 2670 pixels at 430 ppi | Apple, tech specs |
| App Store screenshot size | 1398 × 2034 (or 2034 × 1398) | 2007 × 2853 (or 2853 × 2007) | App Store Connect, screenshot specifications |
| Size class to design for | Compact width | Regular width | Apple HIG, Designing for iPhone Duo |
Apple’s guidance says a fold can resize your app in the middle of a session, so reading the size once at launch isn’t enough (Apple, Three steps to make your app shine on iPhone Duo). In Apple’s iPhone Duo Group Lab, its engineers described the fold as a size-class and trait change: the scene stays connected and your process keeps running (Apple Developer Forums, iPhone Duo Group Lab summary). On the outer display, the system can present navigation bars, toolbars and tab bars vertically on the side of the display (Apple, Preparing your app for iPhone Duo).
Apple’s checklist names the code patterns to replace (Apple, prepare page):
- Use the view’s size for layout. Replace
UIScreen.main.boundswithview.boundsorwindow.bounds, and in SwiftUI useGeometryReaderoronGeometryChange. Do size-dependent layout inlayoutSubviewsorviewDidLayoutSubviews. - To find out whether your app is wider than it is tall, compare the width and height of the space you have.
- Don’t choose a layout by idiom: base it on size classes or available space instead of
userInterfaceIdiom, don’t treat regular width as iPad, and remove checks such asbounds.height == 844. Apple’s technology overview adds thatUIInterfaceOrientationshouldn’t drive layout decisions either.
The fold is a reserved region: it is active when the iPhone Duo is partially open and inactive when it is fully open, and the types are ReservedRegion in SwiftUI and UIView.ReservedRegion in UIKit. ArrangementView in SwiftUI and UIArrangementViewController in UIKit are containers for a primary and a secondary view that adjust to different poses, in a split or an overlay style. For custom views that need to know where the bars are, Apple points to toolbarVerticalEdge in SwiftUI and verticalBarEdge in UIKit (Apple, Preparing your app for iPhone Duo).
Apple’s design guidance says a compact width layout for the outer display and a regular width layout for the inner display “give you the fundamentals for every pose”, and a split view expands on the inner display and collapses to a single pane on the outer one (Apple HIG). Settings in the screenshots above follows that pattern.
Xcode’s coding assistant has an app resizability skill. Ask it to “get my app ready for iPhone Duo” and it scans your project for these patterns and suggests a fix for each one it finds; xcrun agent skills export exports that skill for another coding agent (Apple, prepare page).
How do you check both displays on every change?
Start while the change is still being written, which shifts verification left of CI and review. revyl dev installs your development build on a cloud iOS simulator and keeps it current as you edit. For Expo and React Native, most JavaScript and TypeScript changes hot reload through Metro; other stacks rebuild and reinstall when a change needs a new binary, so after a native layout change, run revyl dev rebuild --wait before you check the two poses (Revyl docs, Dev loop). A coding agent working on a layout change can start an iPhone Duo the way the script above does, install its build with revyl device install, and fold the device and check each display before it opens a pull request (Revyl docs, Drive a device).
Check how your app appears on both displays, and inspect how the system presents navigation bars, toolbars and tab bars vertically on the side of the display. Look for controls that appear in the fold and are hard to see or tap (Apple, Preparing your app for iPhone Duo). Then fold in the middle of a task, such as typing in a form or playing a video, and check that the state survived. Apple’s engineers say the system generally preserves text input, scroll position and video playback through a fold (Apple Developer Forums), so if a form loses its text after a fold, start by checking how your app keeps that state.
Once the check works, keep it as a test that folds the device between steps and runs on every pull request. A Revyl test can target the iPhone Duo and fold it with a set_fold_state step (Revyl YAML test format; Revyl changelog, October 26, 2026). In this example, “My App” stands for the name of your app’s build in Revyl:
test:
metadata:
name: "Cart on both iPhone Duo displays"
platform: "ios"
build:
name: "My App"
device:
model: "iPhone Duo"
os_version: "iOS 27.1"
blocks:
- type: instructions
step_description: "Add the first product to the cart"
- type: instructions
step_description: "Open the cart"
- type: manual
step_type: set_fold_state
step_description: "unfolded"
- type: validation
step_description: "The cart lists one item with a price"
- type: manual
step_type: set_fold_state
step_description: "folded"
- type: validation
step_description: "The cart still lists one item with a price"
You can run Revyl tests on every pull request with GitHub Actions, GitLab CI, Buildkite or the CLI in any other pipeline (Revyl, Run tests in CI). Live views and reports follow whichever iPhone Duo panel is active (Revyl changelog, October 26, 2026).
Proof of changes brings the check to the pull request itself. Once it is enabled, each pull request with a build gets a proof status on the pull request by default. That status can be Not started or Inconclusive; an iOS proof that exercised the change shows a confidence score, what it covered, screenshots and a link to the session recording that opens without a login (Revyl docs, Proof of changes).
How does a coding agent check the iPhone Duo for you?
An agent follows the same steps as the script. It starts the iPhone Duo with revyl device start, folds and unfolds it with revyl device set-fold-state or with the device_set_fold_state tool in the local core and full profiles of Revyl’s MCP server, and checks a plain-language statement on each display with revyl device validation or the device_validation MCP tool. The MCP fold tool reports success only after the device confirms the fold (Revyl MCP tools).
Folding the device, checking a statement on each display and keeping the screenshots is agent verification for the iPhone Duo: the agent proves its change works on the running application and leaves evidence a reviewer can check (What is agent verification?).
Capy, a cloud agent platform and Revyl partner, gives its agents phones through Revyl on Capy’s Pro, Max and Enterprise plans when the organization’s Mobile builds and devices setting is on, which it is by default: Capy builds the app on Revyl’s build runners and installs it on a cloud phone in the agent’s thread (Revyl partners; Capy docs, Cloud phones). On December 1, 2026, a Capy agent picked the iPhone Duo as its cloud phone, unfolded and folded it, and took a screenshot of Settings on each display from its thread.


Teams can also have Capy run the proof: Revyl starts a Capy thread that checks out the change, verifies it on a Revyl device and reports back on that pull request (Revyl docs, Proof via Capy). If you build cloud agents for your own customers, Revyl’s partner docs show how to give them the same devices.
Can you run the iPhone Duo simulator without a Mac?
Yes. Xcode needs an Apple silicon Mac, but Revyl runs the iPhone Duo simulator in the cloud and streams each session to your browser (Revyl docs, Sessions), and the Revyl CLI installs on macOS, Linux and Windows (Revyl CLI on GitHub). How mobile cloud simulators work covers the infrastructure behind those sessions.
To build without a Mac of your own, use Revyl’s remote build image ios-macos-26-xcode-27.1, which has the iOS 27.1 simulator SDK and lists the iPhone Duo as supported (Revyl toolchain images). For iOS, the build recipe has to produce a simulator .app or an archive that contains one (Revyl remote builds), and the app’s executable must include arm64 simulator code (Revyl artifact requirements). Pin the image with --image or in your build recipe’s image field; without one, the platform’s default image is used (Revyl toolchain images). With a release build profile whose commands produce that simulator app:
revyl build --build-profile release --platform ios --remote --image ios-macos-26-xcode-27.1
What does the App Store require for iPhone Duo, and when?
Apple names April 2027, with no day, for two rules:
- From April 2027, iOS and iPadOS apps uploaded to App Store Connect must be built with the iOS & iPadOS 27 SDK or later and target iOS 15 or later (Apple, Submitting).
- Also from April 2027, iPhone Duo screenshots will be required for any app using the iOS 27.1 SDK or later (App Store Connect, screenshot specifications). Apple’s October 5 news post says screenshots for iPhone Duo will be needed for any apps or games submitted, without the SDK condition (Apple, October 5, 2026).
App Store Connect doesn’t accept screenshots with alpha channels or transparency (App Store Connect, screenshot specifications). The PNG files from our run above have an alpha channel, so export the screenshots you submit without one. Submitting iPhone Duo screenshots also puts a badge on your product page telling people the app is optimized for iPhone Duo (Apple, October 5, 2026).
What else do developers ask about the iPhone Duo simulator?
Is the iPhone Duo simulator available online?
Some websites frame a web page at the iPhone Duo’s display sizes, which shows a browser viewport rather than iOS. Apple’s simulator runs in Xcode on an Apple silicon Mac, and Revyl runs an iPhone Duo simulator with iOS 27.1 in the cloud and streams the session to your browser. It’s included on Revyl’s Free plan, so you can try it without a Mac or a card.
Does the iPhone Duo simulator show the partially open pose?
Xcode’s Device Hub has a Partially Open button, and holding Option while you drag the slider below the bezel folds the device to any angle. Revyl’s fold command sets the device to folded or unfolded.
Do I need to rebuild my app for the iPhone Duo?
Apps built with older SDKs still run, but Apple says only apps built with the iOS 27.1 SDK or later use the full display (Apple), and from April 2027 uploads need the iOS 27 SDK or later (Apple).
What else does Revyl do?
Revyl is verification infrastructure for cloud agents. Coding agents use its web browsers, iOS simulators, Android emulators and macOS computers to run the software they changed and keep evidence of what they did, connecting through a hosted MCP server, the open-source CLI, skills or agent plugins (Revyl docs, MCP setup). Atlas keeps what web apps and single-display iOS and Android apps were observed to do in Revyl sessions.
Beyond the iPhone Duo, what else does Revyl run?
The Revyl CLI starts each of these: revyl device start for iOS, Android and web sessions, and revyl computer create for macOS computers (Revyl CLI reference). Revyl’s Free plan includes up to 1,200 free device minutes a month on iOS, Android and web, with no card (Revyl pricing), and the iPhone Duo simulator is one of the devices on it. Free runs 2 devices at once and Pro runs 10; Pro is pay as you go with no monthly fee, and neither plan charges seat fees for developers or agents (Revyl pricing).
- iOS simulators: other iPhone and iPad models;
revyl device targetslists each model and its iOS versions (Revyl CLI reference). - Android emulators: Android sessions and tests, including Pixel Tablet with Android 14 (Revyl changelog, October 29, 2026).
- Web browsers: web is available to every organization on every plan, so a team that ships iOS and web checks both in one place (Revyl docs, Web).
- macOS computers: workspaces where an agent builds and runs any software that runs on a Mac. An agent can build an iOS app for the iOS Simulator and open it there, or build a command-line tool and run it, and a Mac proof reports back with screenshots and command transcripts (Revyl docs, Computers; Revyl docs, Proof on macOS). Revyl computers, macOS workspaces where agents build and test apps, come with Pro: add a card to unlock them, and the 1,200 free device minutes a month still cover their sessions.
- Atlas: the system of record for the system of action. It keeps the screens, states and transitions observed in Revyl sessions on web and on single-display iOS and Android devices, each tied to its evidence. Product teams read it in the dashboard, and agents query it with
revyl atlasbefore they change a flow (Revyl docs, Atlas; Revyl changelog, October 26, 2026). - Agents and pull requests: Claude Code, Codex, GitHub Copilot coding agent, Devin, Amp and other coding agents reach these runtimes through the CLI, MCP, skills and plugins (Revyl docs, MCP setup). By default, with Proof of changes enabled, each pull request with a build gets a proof status from Revyl’s own agent or, when a team selects it, from Capy (Revyl docs, Proof of changes; Revyl docs, Proof via Capy).