Skip to content

Run the regular iPhone and iPad legs in the simulator - #106

Open
alanvardy wants to merge 7 commits into
mainfrom
alanvardy-var-1176-run-the-regular-iphone-and-ipad-legs-in
Open

alanvardy wants to merge 7 commits into
mainfrom
alanvardy-var-1176-run-the-regular-iphone-and-ipad-legs-in

Conversation

@alanvardy

Copy link
Copy Markdown
Owner

No description provided.

@linear-code

linear-code Bot commented Nov 13, 2026

Copy link
Copy Markdown

VAR-1176

@alanvardy
alanvardy force-pushed the alanvardy-var-1176-run-the-regular-iphone-and-ipad-legs-in branch from ae4ed50 to 72b258a Compare November 13, 2026 22:21
@alanvardy
alanvardy marked this pull request as ready for review November 13, 2026 22:21
@alanvardy
alanvardy force-pushed the alanvardy-var-1176-run-the-regular-iphone-and-ipad-legs-in branch from 096d8e8 to 1c306c3 Compare November 13, 2026 23:37
Simulator.app was removed in Xcode 27, so the hardcoded
\`open -a Simulator --args -CurrentDeviceUDID\` silently failed and no
window appeared for any simulator leg. Centralise the window hop in
scripts/sim-window.sh, which prefers Device Hub's
\`devices://device/open?id=\` deep link and falls back to Simulator.app on
older Xcode, and use it from run-devices.sh and run-simulator.sh.

The gate now also quits Device Hub (bundle id com.apple.dt.Devices)
alongside Simulator.app so its headless pre-boot still attaches no window.
Ported from SingleThread/scripts/run-devices.sh; covered by the shell tests.
@alanvardy
alanvardy force-pushed the alanvardy-var-1176-run-the-regular-iphone-and-ipad-legs-in branch from 1c306c3 to 3e6779b Compare November 13, 2026 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant