Skip to content

[3.13] gh-153631: Ensure iOS simulator is running before starting build (GH-153632)#153675

Open
freakboy3742 wants to merge 1 commit into
python:3.13from
freakboy3742:backport-2dc1a91-3.13
Open

[3.13] gh-153631: Ensure iOS simulator is running before starting build (GH-153632)#153675
freakboy3742 wants to merge 1 commit into
python:3.13from
freakboy3742:backport-2dc1a91-3.13

Conversation

@freakboy3742

@freakboy3742 freakboy3742 commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

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 2dc1a91)

…ng build (pythonGH-153632)

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 2dc1a91)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
@freakboy3742

Copy link
Copy Markdown
Contributor Author

Note for review purposes: The 3.13 branch doesn't have a GitHub Actions CI config, and the buildbot will fail on PR builds because there's no way to identify the base branch of a PR. The Buildbot will run once the PR is merged to the 3.13 branch, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant