Skip to content

Skip installation when the simulator runtime is already present - #488

Open
raisulchowdhury wants to merge 1 commit into
XcodesOrg:mainfrom
raisulchowdhury:fix/483-skip-installed-runtimes
Open

Skip installation when the simulator runtime is already present#488
raisulchowdhury wants to merge 1 commit into
XcodesOrg:mainfrom
raisulchowdhury:fix/483-skip-installed-runtimes

Conversation

@raisulchowdhury

Copy link
Copy Markdown

Summary

  • check CoreSimulator's local runtime image index before installing a simulator runtime
  • skip installation when an installed image matches the requested build and architecture
  • retain the existing duplicate-error handling as a race-condition fallback

Fixes #483.

Testing

  • swift test --filter RuntimeTests (21 tests)
  • swift test (88 tests)

AI assistance

AI assistance was used to investigate and draft this change. I reviewed the complete diff and independently ran the targeted runtime tests and full test suite locally.

Copilot AI review requested due to automatic review settings July 29, 2026 21:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

xcodes does not check if runtime is already installed

2 participants