Claude-skill-registry ios-simulator-reset

Nuclear option - reset simulator and rebuild from scratch

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/ios-simulator-reset" ~/.claude/skills/majiayu000-claude-skill-registry-ios-simulator-reset && rm -rf "$T"
manifest: skills/data/ios-simulator-reset/SKILL.md
source content

iOS Simulator Full Reset

When things are really broken, start fresh:

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