Repository navigation
Description
Problem
An agent cannot put the app under test into Split View on an iOS simulator. Layout bugs that appear only in Split View then need a person to set it up by hand.
On the iPhone Duo simulator, the inner display supports Split View. With the app in the left half, the system draws the Duo bar on the app window's left edge. Full screen never shows that layout, so an agent cannot reproduce or verify a fix for it.
agent-device has fold for the Duo pose, plus home and app-switcher. No command enters or leaves Split View.
Checked on 0.21.36 with macOS 27.2, Node 24.22.1, Xcode 27.2 (27B52), the iOS 27.2 simulator runtime, and the iPhone-Duo device type. The release notes for 0.21.37 to 0.21.39 do not mention Split View.
What works today
The home-screen menu works, but only with coordinates:
agent-device open com.apple.springboard
agent-device longpress <icon-x> <icon-y> 1200
agent-device press <menu-item-x> <menu-item-y>The long press on the app's icon opens a menu with Open in Split View. After the tap on that item, the app fills the left half of the inner display.
What does not work
- The system drag gesture.
agent-device gesture pan 475 666 0 -300 3000, from the bottom edge of the inner display in landscape, scrolls the app. The system multitasking gesture does not start. Binding the session tocom.apple.springboardfirst gives the same result. - Selectors on SpringBoard. With the session bound to
com.apple.springboardon the iPhone Duo,snapshot -ifails withCOMMAND_FAILED: regular iOS snapshot node escaped its cumulative clip.press 'label="Open in Split View"'fails with the same error, so the menu item needs coordinates. iOS: every snapshot command fails with "escaped its cumulative clip" while a system alert is shown at the largest Dynamic Type size #3801 reported the same message for a system alert at the largest Dynamic Type size. xcrun devicectl device appResize start. It shows the app on a separate virtual display namedResizable, not on the Duo panels. That display has no Duo bar, andagent-device screenshotkeeps capturing the lit Duo panel.
Request
- A command to enter and leave Split View. For example,
agent-device split-view <app>andagent-device split-view exit, listed incapabilitiesfor devices that support it. - Working snapshots of SpringBoard on the iPhone Duo, so that the menu route can use selectors instead of coordinates.
#3899 changed how the runner reports frames for iPad apps that do not fill the screen. A Split View command may need the same handling on iPhone Duo.
I can open a PR for the first item if this command shape works for you.
Activity
thymikee commentedon Nov 19, 2026
Triage: the SpringBoard snapshot failure can be investigated independently of a Split View command. Could you share sanitized JSON for the regular snapshot error, including its
details, and asnapshot -i --raw --jsoncaptured with the Split View menu open? The viewport and frames for the menu and its ancestors are the useful parts.