Skip to content

Commit 7dedad0

Browse files
miss-islingtonjoerick
authored andcommitted
[3.11] pythongh-135101: When choosing the default simulator device, don't use simctl --set testing (pythonGH-135102) (python#135114)
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 717b5e0 commit 7dedad0

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
@@ -85,7 +85,7 @@ async def async_check_output(*args, **kwargs):
8585
async def select_simulator_device():
8686
# List the testing simulators, in JSON format
8787
raw_json = await async_check_output(
88-
"xcrun", "simctl", "--set", "testing", "list", "-j"
88+
"xcrun", "simctl", "list", "-j"
8989
)
9090
json_data = json.loads(raw_json)
9191

0 commit comments

Comments
 (0)