Skip to content

Commit dba9de7

Browse files
authored
gh-135101: When choosing the default simulator device, don't use simctl --set testing (#135102)
On a fresh Xcode install (including some CI provider configurations), there is no pre-existing testing set that can be used to identify simulator models. Use the default device set to detect available models instead. Live testing simulators are still created in the testing set.
1 parent 1ffe913 commit dba9de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iOS/testbed/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ async def async_check_output(*args, **kwargs):
127127
async def select_simulator_device():
128128
# List the testing simulators, in JSON format
129129
raw_json = await async_check_output(
130-
"xcrun", "simctl", "--set", "testing", "list", "-j"
130+
"xcrun", "simctl", "list", "-j"
131131
)
132132
json_data = json.loads(raw_json)
133133

0 commit comments

Comments
 (0)