Xcodebuildmcp Cli

🌐Community
by cameroncooke · vlatest · Repository

This CLI tool automates building iOS projects using XcodeBuild with MCP support, streamlining development workflows and reducing manual steps.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add xcodebuildmcp-cli npx -- -y @trustedskills/xcodebuildmcp-cli
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "xcodebuildmcp-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/xcodebuildmcp-cli"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

The xcodebuildmcp-cli skill bridges AI agents with Apple’s Xcode build system, enabling automated compilation and testing of iOS/macOS projects directly from natural language commands. It allows developers to trigger builds, manage targets, and inspect logs without manually opening the IDE or writing complex shell scripts.

When to use it

  • Automate nightly CI/CD pipelines for Swift projects by letting an agent execute xcodebuild commands on schedule.
  • Quickly validate code changes before committing by asking an AI agent to run a specific build target and report errors.
  • Integrate Xcode build status into chat interfaces, allowing team members to request builds via conversational prompts.
  • Debug build failures by having an agent execute verbose build logs and summarize the output for analysis.

Key capabilities

  • Executes xcodebuild commands with customizable arguments (e.g., -workspace, -scheme, -configuration).
  • Captures and returns build output, including success/failure status and detailed log messages.
  • Supports common flags like clean, archive, test, and install for diverse development workflows.

Example prompts

  • "Build the 'MyApp' scheme in the 'Release' configuration and tell me if it succeeded."
  • "Run a clean build of the project, capture any errors, and summarize them for me."
  • "Execute a test suite for the 'UserModule' target and report which tests passed or failed."

Tips & gotchas

Ensure your environment has Xcode installed and properly configured in the agent’s workspace before invoking this skill. The tool relies on standard xcodebuild syntax, so unfamiliar flags may cause unexpected behavior; always verify command arguments against Apple’s documentation.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
cameroncooke
Installs
132

🌐 Community

Passed automated security scans.