Skip to content

Instantly share code, notes, and snippets.

View faiztech's full-sized avatar
🇵🇸

Mohammed Faizuddin faiztech

🇵🇸
View GitHub Profile
@faiztech
faiztech / simulator-cleanup-prompt.md
Last active April 22, 2026 23:25
Claude Code prompt: clean up iOS simulators and runtimes to reclaim Mac disk space

I want to clean up iOS simulators and runtimes on my mac to reclaim disk space. Walk me through it step by step.

  1. 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).
  2. Ask me how many simulators I want to keep and which device types (e.g., "smallest iPhone", "latest iPhone", "iPad").
  3. Tell me to run xcrun simctl list devices available and paste the output.
  4. From that output, pick exact UDIDs I should keep based on my answers, and generate a single xcrun simctl delete command (or a loop if long) for