Skip to content

Suggest matching runtimes for missing simulator bases#121

Merged
Maples7 merged 1 commit into
masterfrom
fix/issue-119-runtime-platform-hint
May 14, 2026
Merged

Suggest matching runtimes for missing simulator bases#121
Maples7 merged 1 commit into
masterfrom
fix/issue-119-runtime-platform-hint

Conversation

@Maples7
Copy link
Copy Markdown
Owner

@Maples7 Maples7 commented May 14, 2026

Summary

  • replace the hardcoded iOS runtime hint for missing simulator base devices with a platform-aware runtime suggestion
  • parse simctl list runtimes --json so hints can use the newest installed runtime for Apple Watch, Apple TV, and Apple Vision Pro templates
  • add regression coverage for watchOS, tvOS, visionOS, and older runtime JSON availability/name shapes
  • update the command reference and changelog for the user-visible diagnostic change

Closes #119

Tests

  • swift test --filter 'SimulatorServiceTests/testEnsureCloneSuggestsWatchRuntimeWhenAppleWatchBaseMissing|SimulatorServiceTests/testEnsureCloneSuggestsPlatformRuntimeWhenNonIOSBaseMissing|SimctlListParserTests/testParsesAvailableRuntimes|SimctlListParserTests/testParsesRuntimeAvailabilityStringAndNameFallback'
  • swift test --parallel
  • git diff --check

Pre-commit review

  • Ran /pre-commit-review with focus on test coverage.
  • Addressed all findings before commit.

Notes

  • Untracked .github/agents/ and .github/prompts/ files were left out of this PR.

@Maples7 Maples7 merged commit 8461220 into master May 14, 2026
1 check passed
@Maples7 Maples7 deleted the fix/issue-119-runtime-platform-hint branch May 14, 2026 15:57
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.

vch test suggests iOS runtime for missing watchOS simulator template

1 participant