/xcode-development:run-simfrom Xcode Development
Launch an app in the iPhone or iPad simulator, take screenshots, read logs, render SwiftUI previews, and drive the UI (tap, swipe, type) through Xcode 27's MCP tools so Claude can see and verify what it built. Use when asked to run the app, show it, screenshot it, try it, check how it looks, verify a screen, or test interactively.
Ships in Xcode Development. 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.
Two paths. Pick by situation.
xcode MCP server is connected)First time per project: call XcodeOpenWorkspace with the absolute path to
apps/<Name>/<Name>.xcodeproj. macOS asks the user to approve the agent and
the folder once. If the tool answers "isn't approved", tell the user to click
Always Allow in the dialog, or run once:
sudo xcrun mcp-server allow-folder <workspace path> --always.
| Need | Tool |
|---|---|
Snapshot a SwiftUI #Preview (light, dark, text sizes, orientation) | RenderPreview |
| Install and launch on a simulator | DeviceInteractionStartWorkspaceSession then DeviceInteractionInstallAndRun |
| Tap, swipe, type, and get a screenshot plus UI hierarchy | DeviceInteractionSynthesize (use hierarchy hit points, not guesses) |
| Finish | DeviceInteractionEndSession (always; sessions are expensive) |
| App logs | GetConsoleOutput with a regex filter |
| Pick the device | XcodeListRunDestinations, XcodeSwitchRunDestination by displayTitle |
For a full verification pass after a UI change, run Apple's device-interaction
skill as a subagent (available when CLAUDE_CODE_PLUGIN_DIRS is exported):
Agent: subagent_type general-purpose
prompt: "Using the device-interaction skill, verify <feature> on apps/<Name>.
Launch, screenshot, read the hierarchy, tap through <flow>, report UI defects."
Check iPhone and iPad for every layout change.
From apps/<Name>:
make run # newest iPhone simulator
make run-ipad # newest iPad simulator
make screenshot # build/screenshots/<timestamp>-<device>.png, then Read it
make screenshot-ipad
make sims # which simulators the Makefile picked
xcrun simctl ui booted appearance dark
xcrun simctl ui booted content_size extra-large
xcrun simctl spawn booted log stream --predicate 'subsystem == "<bundle id>"'
Always Read the screenshot PNG. Report what you saw, not what you expected.
make, never by hand, so the build is fresh.make builds into build/DerivedData; Xcode builds into its own. They do not collide.xcrun simctl shutdown all. Never erase all or delete all.What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/app-reviewReview Swift, SwiftUI, and SpriteKit code in an app under apps/ for correctness, concurrency, kid-safety, privacy, and template conventions before merge or commit. Use when asked to review, check, audit, or critique app code, or before merging a feature branch./build-testBuild, test, and lint an iOS app in apps/<Name> with make or Xcode 27 MCP tools, and diagnose xcodebuild, Swift Testing, XCTest, SwiftLint, or swift-format failures. Use when asked to build, test, run tests, check, verify, fix a build error, or before claiming any code change is done./feature-tddAdd or change a feature in an app using the factory SDLC: update the spec, write a failing test, implement, run make check, playtest in the simulator, commit with a Conventional Commit. Use when asked to add, implement, change, or fix any behavior in an app under apps/./initSet up a new xcode-development workspace in the current directory for building personal iPhone and iPad apps and games with Claude Code. Use when the user runs /xcode-development:init, asks to initialize, set up, or bootstrap an Xcode or iOS workspace, or wants to start building Apple apps in an empty folder./install-deviceBuild a signed app and install it on a physical iPhone or iPad with xcrun devicectl, using the free Personal Team. Use when asked to put the app on a phone, iPad, or device, install for the kids, or when a previously installed app stopped opening after 7 days./new-appScaffold a new iPhone/iPad app or SpriteKit game under apps/<Name> in an xcode-development workspace, with tests, lint, hooks, Makefile, and optional GitHub or GitLab remote. Use when the user wants to start a new app, game, or project, or says "create", "new app", "new game", "scaffold", or "start building <something>".xcode-development@0-to-1-labs is listed by 0-to-1-labs/claude-marketplace — review the source before installing
npx claudepluginhub 0-to-1-labs/claude-marketplace --plugin xcode-development