]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-153631: Ensure iOS simulator is running before starting build (GH-153632...
authorRussell Keith-Magee <russell@keith-magee.com>
Tue, 14 Jul 2026 23:34:35 +0000 (07:34 +0800)
committerGitHub <noreply@github.com>
Tue, 14 Jul 2026 23:34:35 +0000 (07:34 +0800)
commit4ead357bae5ec30b78c8b06cc7f7c6bb4495d89c
treee1a8a6756ea0f6fb71499bc28f5be1fb8f13c2f1
parent35a21feeafc6f75d88532661e12a8528e56d3d38
[3.13] gh-153631: Ensure iOS simulator is running before starting build (GH-153632) (#153675)

Makes a small change to the iOS build script to improve build stability.
xcodebuild doesn't guarantee that the CoreSimulatorService is running before
starting a simulator. If the service isn't running, xcodebuild reports that no
simulators are available, and fails to start the test app. However, simctl
blocks until the simulator is available, and simctl is used to evaluate the
default simulator. So - the iOS build script now unconditionally determines the
default simulator, even if a specific simulator is requested.
(cherry picked from commit 2dc1a91af801ea896e21f6c6e6cc41f57e8268d9)
iOS/testbed/__main__.py