Skip to content

Commit 3148e58

Browse files
miss-islingtonjoerick
authored andcommitted
[3.14] pythongh-135101: When choosing the default simulator device, don't use simctl --set testing (pythonGH-135102) (python#135113)
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. (cherry picked from commit dba9de7) Co-authored-by: Joe Rickerby <joerick@mac.com>
1 parent 12d3f88 commit 3148e58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)