Conversation
…ntime delete and Simlock never reports them
`simctl runtime delete` unregisters a runtime and leaves its ~7.5 GiB download in macOS's asset store, spending the free space the download preflight measures. Nothing Simlock may do reclaims it, so the driver reports it instead: `advisories()` compares the store's bundles against the installed catalog by build and returns one `runtime-cache-unreclaimable` advisory naming the leftovers, which `doctor` already renders. Read-only and quiet on a store that is absent or unreadable; reads each bundle's `Info.plist` and never its size. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_013DvemEX9mcew246mzysXEJ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #79
simctl runtime deleteunregisters a runtime and leaves its ~7.5 GiB download in macOS's asset store, where it keeps spending the free space the iOS download preflight measures and where nothing Simlock may do reclaims it. The driver now reports it instead of being blind to it.advisories()lists the*.assetbundles in the store, reads each one'sInfo.plistfor its build and version, drops the ones whose build thesimctl listcatalog still installs, and returns oneruntime-cache-unreclaimableadvisory naming the rest and pointing at Xcode → Settings → Platforms.doctoralready renders driver advisories; there is no--fix, because deleting the bundles is root surgery on a system directory.Builds decide the match whenever simctl reports one, so two downloads of the same marketing version are told apart; marketing version is the fallback for a simctl that reports no build. Read-only throughout, silent when the store is absent or unreadable, and it never measures the store — sizes come from a constant, not a walk.
Regression test:
src/drivers/ios/index.test.ts→ "reports downloaded runtime assets whose runtime is not in the catalog, and only those (#79)", the triage test, now passing. Five more cover build matching, ordering, an unidentifiable bundle, an unreadable store, and a store with no orphans.Docs: the
doctorfinding indocs/CLI.md(plus theruntime deleterefusal note it makes precise), and the accepted gap indocs/internal/KNOWN-PITFALLS.md.pnpm checkpasses: typecheck, lint, format, 1836 unit tests, full e2e suite.Written by an agent.
🤖 Generated with Claude Code
https://claude.ai/code/session_013DvemEX9mcew246mzysXEJ
Generated by Claude Code