# IOS Visual Debug

> Capture and analyze iOS simulator screenshots for visual debugging

- Skill: `majiayu000/ios-visual-debug` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/ios-visual-debug`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/ios-visual-debug/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/ios-visual-debug

---


# iOS Visual Debugging Workflow

Capture and analyze the current state of the iOS app in simulator:

1. **Check if app is running:**
```bash
ps aux | grep "com.leavn.app" | grep -v grep
```

2. **Capture screenshot:**
```bash
xcrun simctl io booted screenshot ~/Desktop/debug_$(date +%s).png
```

3. **Read and analyze the screenshot** using Claude's vision capabilities

4. **Check recent logs:**
```bash
xcrun simctl spawn booted log show --predicate 'process == "Leavn"' --last 30s --info
```

5. **Report findings:**
- What's visible on screen
- Any UI issues (layout, missing content, errors)
- Recent log errors
- Recommended next steps

**Return screenshot path and analysis.**

