mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
[3.13] gh-135101: When choosing the default simulator device, don't use simctl --set testing
(GH-135102) (#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 dba9de731b
)
Co-authored-by: Joe Rickerby <joerick@mac.com>
This commit is contained in:
parent
b9512c3b93
commit
3a65f46353
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue