8000 gh-135101: When choosing the default simulator device, don't use `sim… · miss-islington/cpython@3a4d9f4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3a4d9f4

Browse files
joerickmiss-islington
authored andcommitted
pythongh-135101: When choosing the default simulator device, don't use simctl --set testing (pythonGH-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. (cherry picked from commit dba9de7) Co-authored-by: Joe Rickerby <joerick@mac.com>
1 parent d8c2bfa commit 3a4d9f4

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)
0