Skip to content

fix: beta numbers for UUID runtime identifiers - #8

Merged
MattKiazyk merged 1 commit into
mainfrom
fix/runtime-beta-number
Sep 8, 2026
Merged

fix: beta numbers for UUID runtime identifiers #8
MattKiazyk merged 1 commit into
mainfrom
fix/runtime-beta-number

Conversation

@MattKiazyk

Copy link
Copy Markdown
Contributor

Summary

Fixes simulator runtime beta numbers being incorrectly parsed from UUID-style identifiers.

Apple’s iOS 27 beta 6 runtime uses the identifier:

0218a56d-df74-59c7-a193-7cb21db4a45b

The previous b[0-9]+ expression matched b21 inside the UUID, causing the runtime to appear as iOS 27.0-beta21.

Changes

  • Use Apple’s sdkToSeedMappings as the authoritative beta number source.
  • Persist the mapped seed number in the downloadable runtime cache.
  • Restrict legacy identifier parsing to delimiter-bound components such as _b3_.
  • Fall back to the runtime name when older cached data has no seed mapping.
  • Document why UUID identifiers must not be searched with an unrestricted beta regex.
  • Add regression coverage for UUID identifiers, legacy identifiers, stable runtimes, and cache compatibility.

Testing

  • Ran the full XcodesKit test suite.
  • 191 tests passed with no failures.
  • Built XcodesApp against this branch.
  • 35 XcodesApp tests passed with no failures.

@MattKiazyk
MattKiazyk merged commit f254dcd into main Sep 8, 2026
1 check passed
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.

1 participant