You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9d21b1f
Browse filesBrowse the repository at this point in the historyBrowse files
fix(limrun): start the iOS runner under the hosts' Xcode 27 (#4305)
* fix(limrun): start the iOS runner under the hosts' Xcode 27
Limrun hosts now run XCTest with Xcode 27. A runner built with Xcode 26
embeds XCTest 26 and its test host crashes at startup there. Build the
release runner with Xcode 27, point Runner.xctestrun at the host's
platform XCTest through DYLD_FRAMEWORK_PATH and DYLD_LIBRARY_PATH, and
refuse a runner that still embeds XCTest.framework.
Fixes#4301
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* ci(release): select Xcode 27 by reported version and fail with a clear error
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(apple): spend the unread-exit budget on virtual time, not host setup
The test gave the request 120 ms of wall time, which also had to cover the
fixture host's real directory setup before the helper starts. A loaded
coverage run outlasted it and the request ended as bridge-readiness-pending.
Fake setTimeout and Date for this test so the budget covers only the
connect retry and the exit wait it is about.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* ci(release): pick the newest reported Xcode 27, not the last bundle name
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
echo "::error::No Xcode 27 found in /Applications on this runner image. The Limrun runner must be built with Xcode 27; choose an image that ships it." >&2
#Remote simulators cannot resolve dependencies from the build machine's Xcode paths, so the runner
96
-
#must carry XCTest itself. Xcode 26 embeds it; Xcode 27 leaves it out, and Limrun simulators run iOS 26.
97
-
if [ !-d"$STAGED_APP_PATH/Frameworks/XCTest.framework" ];then
98
-
echo"The runner app does not embed XCTest.framework. Build the simulator runner with Xcode 26 (set DEVELOPER_DIR to an Xcode 26 install): Xcode 27 resolves XCTest from the build machine, which a remote simulator cannot reach.">&2
95
+
#Limrun hosts run XCTest with Xcode 27, which loads XCTest from its own platform directory. A runner
96
+
#that embeds XCTest.framework comes from an older Xcode, and its test host crashes there.
97
+
if [ -d"$STAGED_APP_PATH/Frameworks/XCTest.framework" ];then
98
+
echo"The runner app embeds XCTest.framework. Build the simulator runner with Xcode 27 (set DEVELOPER_DIR to an Xcode 27 install): Limrun hosts load XCTest from their own Xcode 27, and an older embedded copy crashes the test host.">&2
Copy file name to clipboardExpand all lines: website/docs/docs/limrun.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ Open your app before taking a snapshot. Snapshots target the app you opened in t
125
125
126
126
`install` leaves your app stopped. Use `open` to launch it. To change launch arguments on an app that is already running, use `open --relaunch --launch-args`. Screenshots download as lossless PNG files, and recording downloads the finished MP4 when you stop it. Push notifications use the same command and payload format as local simulators.
127
127
128
-
If you use a nightly or unpublished agent-device build, obtain a matching packaged iOS runner from the build's maintainer. Set `AGENT_DEVICE_LIMRUN_IOS_RUNNER_APP` to the extracted `.app` path before starting agent-device. The runner must be built with Xcode 26, because Limrun simulators run iOS 26 and an Xcode 27 build does not include the XCTest frameworks it needs there; agent-device refuses such a runner. If the daemon is already running, stop it with `agent-device daemon stop` using the same `--state-dir`, then reconnect.
128
+
If you use a nightly or unpublished agent-device build, obtain a matching packaged iOS runner from the build's maintainer. Set `AGENT_DEVICE_LIMRUN_IOS_RUNNER_APP` to the extracted `.app` path before starting agent-device. The runner must be built with Xcode 27, because Limrun runs XCTest with Xcode 27. agent-device refuses a runner built with an older Xcode. If the daemon is already running, stop it with `agent-device daemon stop` using the same `--state-dir`, then reconnect.
0 commit comments