← 返回
内容创作

xcodebuildmcp

Use when the user needs Xcode build/test/run workflows, simulator or device control, UI automation, screenshots/video, logs, or LLDB debugging through XcodeBuildMCP tools. Includes discovery of projects/schemes, session defaults, and common simulator/device workflows.
当用户需要通过XcodeBuildMCP工具进行Xcode构建/测试/运行工作流、模拟器或设备控制、UI自动化、截图/视频、日志或LLDB调试时使用。包括项目/方案发现、会话默认设置及常见模拟器/设备工作流。
ipavlidakis
内容创作 clawhub v1.0.0 1 版本 99342.1 Key: 无需
★ 2
Stars
📥 2,980
下载
💾 7
安装
1
版本
#latest

概述

Xcodebuildmcp

Overview

Use the xcodebuildmcp toolset to build/run/test apps, manage simulators/devices, automate UI, and capture logs/screen media. Default to a safe, repeatable flow: discover → set defaults → execute → verify.

Prereqs & MCP Setup

This skill assumes the XcodeBuildMCP server is installed and exposed to your MCP client so the tools appear (e.g., mcp__xcodebuildmcp__build_run_sim). If the tools are missing, follow the setup steps in:

  • references/mcp-setup.md (requirements + MCP client config examples)

Example Requests

  • "Build and run the iOS app on the latest simulator and take a screenshot."
  • "Run unit tests on the simulator and share the failing test logs."
  • "Open the simulator, navigate to Settings, and toggle Dark Mode."
  • "Install and launch the app on my connected iPhone."

Quick Start (common flow)

1) Discover the project/workspace and schemes:

  • mcp__xcodebuildmcp__discover_projs
  • mcp__xcodebuildmcp__list_schemes

2) Set session defaults (so subsequent tools don’t need repeated params):

  • mcp__xcodebuildmcp__session-set-defaults (workspacePath/projectPath, scheme, simulatorId/deviceId)

3) Run the task:

  • Build/run: mcp__xcodebuildmcp__build_run_sim or mcp__xcodebuildmcp__build_run_macos
  • Tests: mcp__xcodebuildmcp__test_sim / mcp__xcodebuildmcp__test_macos / mcp__xcodebuildmcp__test_device

4) Verify and gather evidence:

  • mcp__xcodebuildmcp__screenshot (sim)
  • mcp__xcodebuildmcp__start_sim_log_capmcp__xcodebuildmcp__stop_sim_log_cap

Task Index

  • Build/Run: iOS simulator, macOS, device installs
  • Testing: simulator/macOS/device
  • Simulator management: list/boot/erase/appearance/location/gestures
  • UI automation: describe UI → tap/type/swipe/gesture
  • Logs & debugging: sim logs, device logs, LLDB attach/breakpoints
  • Media: screenshots, screen recording

Load references/workflows.md for detailed step-by-step sequences and command patterns.

Operating Rules

  • Always call mcp__xcodebuildmcp__describe_ui before coordinate-based taps/swipes/long-press.
  • Prefer mcp__xcodebuildmcp__session-set-defaults early to reduce parameter noise.
  • If user didn’t specify target device/simulator, list options and ask (or pick a sensible default with useLatestOS).
  • Avoid destructive actions (erase sims, clean) unless the user asked for them.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 12:44 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 141 📥 41,016
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,258
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,131