Apple Platform Build Tools Claude Code Plugin
Build, test, and archive Swift packages and Xcode projects for Apple platforms with Claude Code.
Install: /plugin marketplace add kylehughes/apple-platform-build-tools-claude-code-plugin
Works with Claude Code · 59 GitHub stars
Install
/plugin marketplace add kylehughes/apple-platform-build-tools-claude-code-pluginInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →Apple Platform Build Tools Claude Code Plugin
Build, test, and archive Swift packages and Xcode projects for Apple platforms with Claude Code.
About
Apple Platform Build Tools Claude Code Plugin is a Claude Code plugin with an Agent Skill and a Subagent for building Apple platform products.
- Agent Skill: Reference documentation for the xcrun developer tool ecosystem — xcodebuild, swift build, simctl, devicectl, code signing, profiling, distribution, and binary tools.
- Subagent: Discovers schemes, manages simulators and devices, runs builds, and returns results. Uses the Agent Skill.
Usage
Delegate build and test commands to the Subagent from your main programming agent. It reports results without exposing build logs, keeping the main agent's context window clean.
Use the Agent Skill directly when you need to understand xcodebuild, swift, simctl, devicectl, or other xcrun tool options, debug build failures, or construct commands with more control than the Subagent gives you.
Automatic
Both the Agent Skill and Subagent are exposed to Claude Code with descriptions of when to use them. Claude should read the Agent Skill when composing a complex xcodebuild command, or invoke the Subagent when a build needs to run. This is nondeterministic in practice and may change across Claude models and Claude Code versions.
Manual
To explicitly invoke the Agent Skill or Subagent, use natural language in Claude Code.
e.g.
use the builder agent to build the app
check with the builder agent that the tests pass
use the build skill to help me write an xcodebuild command for CI
What's Included
Agent Skill: building-apple-platform-products
Quick-reference tables and detailed documentation for:
- xcrun tool resolution and Xcode version switching
- Project discovery (schemes, targets, configurations)
- Swift Package Manager commands
xcodebuildcommands (build, test, archive)- Destination specifiers for all Apple platforms
- Simulator management (
simctl— lifecycle, app install, permissions, screenshots, location) - Physical device deployment (
devicectl— iOS 17+, install, launch, file transfer) - Test filtering, parallel execution, coverage
- Code signing (certificates, provisioning, CI keychain setup)
- Profiling and results (
xctrace,xcresulttool,xccov) - Distribution (IPA export, notarization, App Store upload)
- Binary tools (
lipo,otool,dsymutil,atos,plutil,docc) - CI/CD patterns (GitHub Actions, log capture, complete pipelines)
- Troubleshooting common errors
Subagent: builder
Build executor that:
- Discovers project structure
- Constructs commands for the project type
- Manages simulators and deploys to physical devices
- Archives, exports, and distributes builds
- Profiles performance and extracts test results
- Inspects binaries and debug symbols
- Handles errors using troubleshooting guidance
- Returns success/failure with relevant details
- Uses the
building-apple-platform-productsskill
Installation
Claude Code
Personal Usage
To install for personal use:
Add the marketplace:
/plugin marketplace add kylehughes/apple-platform-build-tools-claude-code-pluginInstall the plugin:
/plugin install apple-platform-build-tools@apple-platform-build-tools-claude-code-plugin
Project Configuration
Similar plugs
Multi-harness agentic plugin marketplace for Claude Code, Codex, Cursor, OpenCode, GitHub Copilot, Google Antigravity, and Pi
Every agent's model. One place. Codex on DeepSeek, Claude Code on Kimi, from the menu bar.
The Developer Tool for Visual Engineers • An Open-Source AI-First Design tool • Visually build, style, and edit your code with AI • World's best, top-most agent recommended #1…