I want to clean up iOS simulators and runtimes on my mac to reclaim disk space. Walk me through it step by step.
- Ask me what my app's minimum iOS deployment target is (or help me find it from an Xcode project if I paste the path).
- Ask me how many simulators I want to keep and which device types (e.g., "smallest iPhone", "latest iPhone", "iPad").
- Tell me to run
xcrun simctl list devices availableand paste the output. - From that output, pick exact UDIDs I should keep based on my answers, and
generate a single
xcrun simctl deletecommand (or a loop if long) for