mattmakes/multi-herdr/ios-simulator-run
Claude Code and agent skill by mattmakes/multi-herdr
- community
Checking that the SKILL.md file is still in the repository.
Build, run and inspect an iOS app on a simulator through the MobileBuildMCP server (formerly XcodeBuildMCP), with xcrun simctl as the fallback. Use to run an iOS app, drive or inspect its UI, capture logs or console output, reproduce a bug or diagnose runtime behavior.
Install
npx vskill@latest install mattmakes/multi-herdr/ios-simulator-runSKILL.md
The same SKILL.md was published earlier as mattmakes/multi-herdr/ios-simulator-run.
iOS Simulator Run
A short playbook. Use the MobileBuildMCP tools for simulator control, UI inspection and logs. The tool names below are the bare names from MobileBuildMCP 2.7.1 (the npm package mobilebuildmcp, formerly xcodebuildmcp); your harness may show them with a server prefix, and versions rename tools. Match each step to the tool in the server's tool list that does that job. If the server is not connected, use the xcrun simctl commands given here, and say in your report that you did.
The server must enable the simulator and ui-automation workflows (MOBILEBUILDMCP_ENABLED_WORKFLOWS=simulator,ui-automation in its environment, or enabledWorkflows in .mobilebuildmcp/config.yaml). Only simulator is on by default. It carries snapshot_ui and screenshot; tap, type_text, gesture and batch come only with ui-automation (checked live on 2.7.1, see docs/live-checks/apple.md in the horch repository). If those tools are missing, use the xcrun simctl fallbacks and say so in your report.
Follow this sequence unless the task asks for a narrower action.
1) Get a booted simulator
- List simulators (
list_sims, orxcrun simctl list devices available). Use a simulator whose state isBooted. - If none is booted, boot one yourself. Prefer the device the task names, else a recent iPhone on the newest installed runtime:
boot_sim, orxcrun simctl boot <UDID>thenxcrun simctl bootstatus <UDID> -bto wait. - Never erase or delete a simulator.
2) Set session defaults
Set the session defaults (session_set_defaults) once:
projectPathorworkspacePath(whichever the repo uses)schemefor the appsimulatorIdfrom step 1- Optional:
configuration: "Debug",useLatestOS: true,preferXcodebuild: true
3) Build and run
- Build and run on the simulator (
build_run_sim). - If the build fails, read the error output. Fix it if it is in your task's scope, or retry once with
preferXcodebuild: truein the session defaults. If it still fails, message the orchestrator with the first error and stop before any UI interaction. - After a successful build, confirm the app launched with a UI snapshot (
snapshot_ui) or a screenshot (screenshot, orxcrun simctl io <UDID> screenshot <file>.png). - If the app is already built and only a launch is needed, launch it (
launch_app_sim, orxcrun simctl launch <UDID> <bundle id>). - If the bundle id is unknown, get the app path (
get_sim_app_path), then the bundle id (get_app_bundle_id).
UI interaction
- Snapshot the UI (
snapshot_ui) before every tap or swipe, and again after navigation, scrolling, a sheet or any layout change. The snapshot gives each element anelementRef. - Tap (
tap) oneelementReffrom the latest snapshot. Use only a ref whose targets list the tap action. For several taps on the same screen with no check between them, usebatch. - Type (
type_text) after focusing a field. - Gestures (
gesture) for scrolls and edge swipes. - Screenshot (
screenshot) for visual confirmation. Save the images you cite in your report.
Logs and console output
build_run_simandlaunch_app_simcapture the app's runtime logs automatically and return the log file path. Read that file and summarize the important lines.- Without the server, stream the logs:
xcrun simctl spawn <UDID> log stream --predicate 'subsystem == "<bundle id>"'. Stop the stream when you have the lines you need.
Troubleshooting
- If the wrong app launches, confirm the scheme and bundle id.
- If an
elementRefis stale or not tappable, take a newsnapshot_uiafter the layout settles. - If you cannot get a simulator, a build or a launch to work, message the orchestrator with what you ran and the exact error. Do not guess at runtime behavior you did not observe.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ios-simulator-run/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mattmakes/multi-herdr/ios-simulator-run)