Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By gpambroziov0.6.0MITIn 1 marketplace
Xcode development tools: build/test/run Swift packages, discover projects and schemes, build for simulator/device/macOS, run tests, manage device apps, capture simulator logs
Claude loads one when your task matches it, or you run it by name.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
Connects to a remote server outside your machine
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
xcode, swift, ios, macos, swift-package, devices, logging, xcodebuild
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
Xcode development tools for Claude Code-compatible agents. Build/test tools use xcsift for token-efficient JSON output.
Claude Code:
/plugin marketplace add gpambrozio/ClaudeCodePlugins
/plugin install XcodeBuildTools@ClaudeCodePlugins
OpenCode:
{
"$schema": "https://opencode.ai/config.json",
"plugin": [
"/path/to/ClaudeCodePlugins/XcodeBuildTools/opencode-plugin.js"
]
}
Restart OpenCode after changing config. The OpenCode entry point registers this plugin's skills, sosumi MCP server, session context, command guardrails, Xcode MCP auto-approval helper, and Xcode build sandbox environment. Xcode MCP first routing and the per-worktree sandbox are Claude Code features: OpenCode sessions get the default skills-first context and the per-session sandbox pool.
brew install xcsift
| Skill | Description |
|---|---|
swift-package | Build, test, run, and manage Swift Package Manager projects |
xcode-project | Discover projects, list schemes, view settings, get bundle IDs |
xcodebuild | Build for simulator, device, or macOS; clean build products |
xcode-test | Run unit and UI tests |
xcode-doctor | Diagnose Xcode development environment |
device-app | Manage apps on physical Apple devices |
macos-app | Launch and stop macOS applications |
sim-log | Capture logs from iOS Simulator apps |
sparkle-integration | Integrate Sparkle 2.x auto-update framework into macOS apps |
swift-code-analysis | Review Swift code for architecture, correctness, and maintainability issues |
swiftui-modernize | Review SwiftUI files for deprecated APIs and modernization opportunities |
Xcode 26.3 and later ship an MCP server (xcrun mcpbridge). By default XcodeBuildTools stays the primary route for build, test, Swift package and project-inspection work even when Xcode MCP tools are visible, and keeps raw Xcode MCP use for explicit requests, live editor or project state, and gaps no skill covers. Projects can opt in to the opposite: Xcode MCP first.
Set XCODEBUILDTOOLS_PREFER_MCP in the project's committed .claude/settings.json:
{
"env": {
"XCODEBUILDTOOLS_PREFER_MCP": "1"
}
}
The SessionStart hook reads the variable from the environment first, then from the project's .claude/settings.local.json and .claude/settings.json. 1, true, yes and on opt in; 0, false, no and off opt out, so "XCODEBUILDTOOLS_PREFER_MCP": "0" in settings.local.json turns it off for one checkout. Without the setting, the session context is 0.5.11's except for the two Build Isolation paragraphs, which now describe the per-worktree sandbox; a test compares it with a frozen copy of the 0.5.11 output.
The project also needs the Xcode MCP server configured for the agent, for example in its .mcp.json:
{
"mcpServers": {
"xcode": { "type": "stdio", "command": "xcrun", "args": ["mcpbridge"] }
}
}
The plugin does not ship this server itself, so projects that have not opted in never start mcpbridge.
When a project opts in and the MCP is usable, the session context tells the agent to:
.xcscheme files are already modified, then open this worktree's workspace (the hook finds it and prints its absolute path) with XcodeOpenWorkspace, keep the workspace-… id it returns and pass that id as workspaceIdentifier on every call (headless tools reject the absolute path with "Unknown workspace identifier"), keep to one tool per worktree, and close it with XcodeCloseWorkspace at the end;git status: git restore a shared .xcscheme the close rewrote only if it was clean before and the task didn't change it, and otherwise undo just the lines the close added;RunSomeTests one identifier per test: a whole suite as one identifier runs but reports a single "No result" with no counts;BuildProject), runs (RunProject), focused tests and test plans (RunSomeTests, RunAllTests), previews (RenderPreview) and console logs (GetConsoleOutput);TEST_RUNNER_* variables, -skip-testing, -collect-test-diagnostics, result bundle paths, archives and exports, scripts and CI, physical devices (device-app), Swift packages from the command line (swift-package), xcode-doctor, sparkle-integration, sim-log for apps the MCP did not launch, and macos-app.If the MCP is not usable, the agent gets the default skills-first context plus a notice that says why. That includes Xcode 26.x: its bridge has no XcodeOpenWorkspace and addresses open windows by tabIdentifier, so MCP-first routing needs Xcode 27 or later.
Plugins from other owners that cover similar ground
npx claudepluginhub gpambrozio/claudecodeplugins --plugin XcodeBuildToolsBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.