/build-ios-apps:ios-debugger-agentfrom build-ios-apps
Build, run, launch, and debug iOS/macOS projects on simulators and real devices using XcodeBuildMCP. Use this skill when asked to: run an iOS app, interact with the simulator UI, inspect on-screen state, capture logs or console output, diagnose runtime behavior, set breakpoints, debug with LLDB, deploy to a physical device, capture screenshots, or automate UI interactions. Also use when the user needs help installing or configuring XcodeBuildMCP for Claude Code, Xcode Coding Intelligence (Xcode 26.3+), or any MCP client. Triggers on: "run the app", "build and test", "debug this", "what's on screen", "tap the button", "show me the UI", "capture logs", "deploy to device", "install xcodebuildmcp", "setup simulator", "xcode coding agent".
Ships in build-ios-apps. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Build and run the current project on a booted iOS simulator or real device, interact with the UI, capture logs, debug with LLDB, and take screenshots — all through XcodeBuildMCP tools.
XcodeBuildMCP is the MCP server that powers this skill. If it's not yet installed, help the user set it up.
brew tap getsentry/xcodebuildmcp
brew install xcodebuildmcp
npm install -g xcodebuildmcp@latest
claude mcp add XcodeBuildMCP -- npx -y xcodebuildmcp@latest mcp
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"XcodeBuildMCP": {
"command": "npx",
"args": ["-y", "xcodebuildmcp@latest", "mcp"]
}
}
}
For native Xcode Claude Agent integration, configure at:
~/Library/Developer/Xcode/CodingAssistant/ClaudeAgentConfig/.claude.json
XcodeBuildMCP auto-detects the active scheme and simulator in Xcode, so sessionDefaults are optional here.
XcodeBuildMCP ships optional agent skills that enhance tool usage:
xcodebuildmcp init
# or
npx -y xcodebuildmcp@latest init
Create .xcodebuildmcp/config.yaml in the project root:
schema: 1
enabledWorkflows:
- simulator
- ui-automation
- debugging
sessionDefaults:
scheme: "MyApp"
projectPath: "./MyApp.xcodeproj"
simulatorName: "iPhone 16"
Follow this sequence unless the user asks for a narrower action.
mcp__XcodeBuildMCP__list_sims and select the simulator with state Booted.mcp__XcodeBuildMCP__session-set-defaults with:
projectPath or workspacePath (whichever the repo uses)scheme for the current appsimulatorId from the booted deviceconfiguration: "Debug", useLatestOS: truemcp__XcodeBuildMCP__build_run_sim.preferXcodebuild: true if the default build system fails, or escalate to the user.mcp__XcodeBuildMCP__describe_ui or mcp__XcodeBuildMCP__screenshot before proceeding.mcp__XcodeBuildMCP__launch_app_sim.mcp__XcodeBuildMCP__get_sim_app_pathmcp__XcodeBuildMCP__get_app_bundle_idUse these tools to inspect or interact with the running app.
mcp__XcodeBuildMCP__describe_ui — always call before tapping or swiping to understand the current layout.mcp__XcodeBuildMCP__tap — prefer id or label; use coordinates only as fallback.mcp__XcodeBuildMCP__type_text — after focusing a text field.mcp__XcodeBuildMCP__gesture — scrolls, swipes, edge swipes.mcp__XcodeBuildMCP__screenshot — for visual confirmation after actions.When automating a multi-step UI flow, follow this pattern:
describe_ui → identify the target elementtap / type_text / gesture → perform the actionscreenshot or describe_ui → verify the resultXcodeBuildMCP supports full LLDB debugging sessions:
mcp__XcodeBuildMCP__debug_attach — attach to the running app process.mcp__XcodeBuildMCP__debug_breakpoint — by file:line or symbol name.mcp__XcodeBuildMCP__debug_inspect — read variable values at breakpoint.mcp__XcodeBuildMCP__debug_execute — run arbitrary LLDB expressions (po, bt, frame variable, etc.).This is powerful for diagnosing runtime crashes, inspecting state at specific points, and validating fix hypotheses without restarting the app.
mcp__XcodeBuildMCP__start_sim_log_cap with the app bundle id.mcp__XcodeBuildMCP__stop_sim_log_cap and summarize important lines.captureConsole: true and relaunch if required.XcodeBuildMCP supports deploying and testing on physical devices connected via USB or Wi-Fi.
mcp__XcodeBuildMCP__test to run the project's test suite on the simulator.External agents can capture SwiftUI preview snapshots through XcodeBuildMCP — useful for verifying visual changes without running the full app.
| Problem | Solution |
|---|---|
| Build fails with macro errors | XcodeBuildMCP auto-skips macro validation; if still failing, check Xcode settings |
| Build fails on first try | Retry with preferXcodebuild: true |
| Wrong app launches | Confirm the scheme and bundle id with session-set-defaults |
| UI elements not hittable | Re-run describe_ui after layout changes or animations |
| Simulator not found | Run mcp__XcodeBuildMCP__list_sims to verify state |
| MCP tools not available | Verify installation: xcodebuildmcp tools should list 59+ tools |
| Code signing errors on device | Check Xcode signing settings (Team, Profile, Entitlements) |
Run xcodebuildmcp tools to see all 59+ available tools. Key categories:
What SKILL.md sets; muted values are Claude Code's defaults
build-ios-apps@aredes-marketplace is listed by cristianoaredes/aredes-marketplace — review the source before installing
npx claudepluginhub cristianoaredes/aredes-marketplace --plugin build-ios-apps27 skills in this plugin
/asc-app-create-uiCreate a new App Store Connect app record via browser automation. Use when there is no public API for app creation and you need an agent to drive the New App form./asc-aso-auditAudit and optimize your app store presence. Use this skill when you need an ASO audit, want to improve app store ranking, optimize keywords, perform keyword analysis, or surface ranking gaps in App Store metadata./asc-build-lifecycleTrack build processing, find latest builds, and clean up old builds with asc. Use when managing build retention or waiting on processing.