/XcodeBuildTools:xcodebuildfrom XcodeBuildTools
Build Xcode projects for simulator, device, or macOS using `xcodebuild` with xcsift for token-efficient output. Use when compiling iOS/tvOS/watchOS apps, building macOS apps, cleaning Xcode build products, or before you invoke any Bash command with `xcodebuild`.
Ships in XcodeBuildTools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Tool routing: Use this skill for Xcode build workflows even when raw Xcode MCP build tools are available, unless this session's XcodeBuildTools context says the project prefers the Xcode MCP. In that case use the MCP's
BuildProjectfor plain builds and this skill for UDID destinations, archives, scripts, and whenever the MCP is unavailable.
Build Xcode projects and workspaces using xcodebuild with xcsift --format toon --warnings --executable for token-efficient output.
The --executable flag shows the path to the built executable, which you'll need if you want to run the app afterwards.
Ensure xcsift is installed and up to date: brew install xcsift (or brew upgrade xcsift to update).
-sdk parameter - causes unnecessary build failures-skipMacroValidation -skipPackagePluginValidationxcrun simctl list devices available to find a valid one.-destination 'platform=macOS' or omit destinationxcsift only outputs the most important build information but in some cases you might need to inspect the full output of xcodebuild. When using xcsift always tee to a temporary file and use it if xcsift's output is not enough. In the examples below the path to the temporary file is an example, use what you think is the most appropriate location.-workspace flag to build, never -projectxcodebuild wrapper on PATH ahead of /usr/bin, so every invocation — direct or nested inside a build script — runs inside the plugin's build sandbox (kept per worktree in Claude Code). Just call xcodebuild normally.These are examples of common operation. Feel free to change them but always remember the constraints above.
# Find simulator
xcrun simctl list devices available
# Build
xcodebuild -workspace MyApp.xcworkspace -scheme MyApp -destination 'id=<simulator-uuid>' -skipMacroValidation -skipPackagePluginValidation build 2>&1 | tee ${TMPDIR:-/tmp}/build.log | xcsift --format toon --warnings --executable
xcodebuild -workspace MyApp.xcworkspace -scheme MyApp -destination 'id=<device-udid>' -skipMacroValidation -skipPackagePluginValidation build 2>&1 | tee ${TMPDIR:-/tmp}/build.log | xcsift --format toon --warnings --executable
xcodebuild -workspace MyApp.xcworkspace -scheme MyApp -destination 'platform=macOS' -skipMacroValidation -skipPackagePluginValidation build 2>&1 | tee ${TMPDIR:-/tmp}/build.log | xcsift --format toon --warnings --executable
xcodebuild -workspace MyApp.xcworkspace -scheme MyApp clean 2>&1 | xcsift --format toon
xcsift --format toon --warnings --executable returns token-optimized output with errors, warnings, and notes. Check ${TMPDIR:-/tmp}/build.log for full output if needed.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gpambrozio/claudecodeplugins --plugin XcodeBuildTools11 skills in this plugin
/device-appManage apps on physical Apple devices (iPhone, iPad, Watch, TV, Vision Pro). Use when listing connected devices, installing apps on physical devices, launching or stopping apps on devices./macos-appLaunch and stop macOS applications. Use after building a macOS app to run it, or to terminate running macOS applications./sim-logCapture logs from iOS Simulator apps. Use when debugging simulator apps, monitoring app output, or capturing logs for analysis.