Agent skill

ios-simulator-reset

Nuclear option - reset simulator and rebuild from scratch

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/ios-simulator-reset

SKILL.md

iOS Simulator Full Reset

When things are really broken, start fresh:

  1. Shutdown all simulators:
bash
xcrun simctl shutdown all
  1. Clean build artifacts:
bash
make clean
rm -rf ~/Library/Developer/Xcode/DerivedData/Leavn-*
  1. Reset simulator (optional - destructive):
bash
# Delete and recreate simulator
xcrun simctl delete [DEVICE_ID]
xcrun simctl create "Leavn Fresh" "iPhone 16 Pro"
  1. Fresh build:
bash
make sim-build
  1. Install and launch:
bash
make sim-run

Use this when:

  • "It works in Xcode but not via make"
  • Persistent runtime errors that don't make sense
  • Simulator state is corrupted
  • Nothing else works

Return status of each step.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results