Ios simulator debugger
Build, run, launch, inspect, interact with, and debug iOS simulator apps using XcodeBuildMCP tools, UI descriptions, screenshots, and log capture. Prefer ios-simulator-browser for user-facing browser mirrors, visible simulator proof, or SwiftUI preview viewing.From its SKILL.md
npx -y skills add Xopoko/build-swift-apps --skill ios-simulator-debuggerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
2.3 KB, 530 tokens by cl100k_base, as published. Nobody here has run it
iOS Simulator Debugger
Use XcodeBuildMCP for simulator control, build/run, UI inspection, screenshots, interaction, and logs.
If the user should see or interact with the running app, prefer ios-simulator-browser after this skill has selected or launched the Simulator. Keep this skill focused on build/run, logs, bundle IDs, UI tree inspection, and headless simulator automation.
Workflow
- Discover a booted simulator with
mcp__XcodeBuildMCP__list_sims. If none is booted, ask the user to boot one unless they asked you to boot it. - Set defaults with
mcp__XcodeBuildMCP__session-set-defaults:projectPathorworkspacePath,scheme,simulatorId, optionalconfiguration: "Debug"anduseLatestOS: true. - Build/run with
mcp__XcodeBuildMCP__build_run_simwhen requested. If the build fails, inspect output and retry only when justified, optionally withpreferXcodebuild: true. - After a successful run, verify launch with
mcp__XcodeBuildMCP__describe_uiormcp__XcodeBuildMCP__screenshotbefore UI interaction. - If only launch is requested, use
mcp__XcodeBuildMCP__launch_app_sim. If bundle id is unknown, callmcp__XcodeBuildMCP__get_sim_app_paththenmcp__XcodeBuildMCP__get_app_bundle_id.
Interaction
- Describe before acting:
mcp__XcodeBuildMCP__describe_ui. - Tap by
idorlabelfirst; coordinates only when needed. - Type after focusing a field with
mcp__XcodeBuildMCP__type_text. - Use
mcp__XcodeBuildMCP__gesturefor scrolls and edge swipes. - Capture visual proof with
mcp__XcodeBuildMCP__screenshot.
Logs
Start capture with mcp__XcodeBuildMCP__start_sim_log_cap and the app bundle id. Stop with mcp__XcodeBuildMCP__stop_sim_log_cap and summarize important lines. For console output, set captureConsole: true and relaunch if required.
Troubleshooting
Wrong app means verify scheme/bundle id. Non-hittable elements require fresh describe_ui after layout changes. Do not keep interacting after an unhandled build or launch failure.
What ships with it: 1 file
226 B alongside SKILL.md
agents/
- openai.yaml226 B