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.
This commit is contained in:
Joe Rickerby 2025-06-04 01:31:43 +01:00 committed by GitHub
parent 1ffe913c20
commit dba9de731b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ async def async_check_output(*args, **kwargs):
async def select_simulator_device():
# List the testing simulators, in JSON format
raw_json = await async_check_output(
"xcrun", "simctl", "--set", "testing", "list", "-j"
"xcrun", "simctl", "list", "-j"
)
json_data = json.loads(raw_json)