Skip to content

Commit 934b60e

Browse files
authored
Merge pull request #26212 from apple/shahmishal/master-standalone-flag
Add `--standalone` flag to simctl spawn command to avoid "Invalid dev…
2 parents bd21fb4 + 35e7ab2 commit 934b60e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/lit.cfg

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@ def get_simulator_command(run_os, run_cpu, sdk_path):
116116
print("INFO: Xcode -> Preferences -> Components -> Simulators")
117117
sys.exit(1)
118118
else:
119-
return "simctl spawn 'iPhone 5'"
119+
return "simctl spawn --standalone 'iPhone 5'"
120120
else:
121-
return "simctl spawn 'iPhone Xs'"
121+
return "simctl spawn --standalone 'iPhone Xs'"
122122
elif run_os == 'tvos':
123-
return "simctl spawn 'Apple TV 4K'"
123+
return "simctl spawn --standalone 'Apple TV 4K'"
124124
elif run_os == 'watchos':
125-
return "simctl spawn 'Apple Watch Series 3 - 38mm'"
125+
return "simctl spawn --standalone 'Apple Watch Series 3 - 38mm'"
126126
else:
127127
lit_config.fatal("Unknown simulator OS %r" % run_os)
128128

0 commit comments

Comments
 (0)