We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 078ed9a commit e55abf8Copy full SHA for e55abf8
1 file changed
Platforms/Apple/testbed/__main__.py
@@ -271,8 +271,14 @@ def run_testbed(
271
update_test_plan(location, platform, args)
272
print(" done.")
273
274
+ # xcodebuild doesn't guarantee that the CoreSimulatorService daemon is
275
+ # running prior to using a simulator, but calling `xcrun simctl list` does.
276
+ # Determining the default simulator that *would* be used is a cheap action;
277
+ # so use that as a way to ensure that the CoreSimulatorService daemon is
278
+ # running.
279
+ default_simulator = select_simulator_device(platform)
280
if simulator is None:
- simulator = select_simulator_device(platform)
281
+ simulator = default_simulator
282
print(f"Running test on {simulator}")
283
284
xcode_test(
0 commit comments