mattmakes/multi-herdr/ios-simulator-run

Claude Code and agent skill by mattmakes/multi-herdr

Trust tier 3
  • community
Source check pending

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-run

SKILL.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, or xcrun simctl list devices available). Use a simulator whose state is Booted.
  • If none is booted, boot one yourself. Prefer the device the task names, else a recent iPhone on the newest installed runtime: boot_sim, or xcrun simctl boot <UDID> then xcrun simctl bootstatus <UDID> -b to wait.
  • Never erase or delete a simulator.

2) Set session defaults

Set the session defaults (session_set_defaults) once:

  • projectPath or workspacePath (whichever the repo uses)
  • scheme for the app
  • simulatorId from 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: true in 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, or xcrun simctl io <UDID> screenshot <file>.png).
  • If the app is already built and only a launch is needed, launch it (launch_app_sim, or xcrun 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 an elementRef.
  • Tap (tap) one elementRef from 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, use batch.
  • 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_sim and launch_app_sim capture 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 elementRef is stale or not tappable, take a new snapshot_ui after 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mattmakes/multi-herdr/ios-simulator-run/badge)](https://verified-skill.com/skills/mattmakes/multi-herdr/ios-simulator-run)

Something wrong with this skill or its page? Tell us.