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 marcelrgbergerv1.0.0MITIn 1 marketplace
Xcode CLI — Build, test, run, and manage Xcode projects from Claude Code.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Agent-operable CLI for Xcode on macOS. Build, test, run, clean, archive Xcode projects, manage simulators and physical devices, inspect build results -- all from the command line or an interactive REPL.
Designed as a Claude Code plugin for controlling Xcode programmatically.
xcode-select --install)cd agent-harness
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
# Workspace operations
xcode-cli workspace list
xcode-cli workspace open ~/Developer/MyApp/MyApp.xcodeproj
xcode-cli workspace schemes
xcode-cli workspace destinations
xcode-cli workspace projects
xcode-cli workspace targets
xcode-cli workspace settings --target MyApp --config Debug
xcode-cli workspace active
# Build operations
xcode-cli build build --scheme MyApp
xcode-cli build run --scheme MyApp
xcode-cli build test --scheme MyApp --destination "platform=iOS Simulator,name=iPhone 16"
xcode-cli build clean --scheme MyApp
xcode-cli build stop
xcode-cli build archive --scheme MyApp --output ~/Desktop/MyApp.xcarchive
xcode-cli build status
xcode-cli build errors
xcode-cli build warnings
xcode-cli build test-failures
xcode-cli build log
# Simulator management
xcode-cli simulator list --available
xcode-cli simulator boot "iPhone 16"
xcode-cli simulator shutdown "iPhone 16"
xcode-cli simulator install "iPhone 16" /path/to/MyApp.app
xcode-cli simulator launch "iPhone 16" com.example.myapp
xcode-cli simulator screenshot "iPhone 16" ~/Desktop/screenshot.png
xcode-cli simulator create "My Sim" "com.apple.CoreSimulator.SimDeviceType.iPhone-16" "com.apple.CoreSimulator.SimRuntime.iOS-18-0"
xcode-cli simulator delete "My Sim"
xcode-cli simulator types
xcode-cli simulator runtimes
# Physical devices
xcode-cli device list
xcode-cli device info <udid>
# Editor
xcode-cli editor file
xcode-cli editor text
xcode-cli editor selection
xcode-cli editor goto 42
xcode-cli editor open /path/to/file.swift
# Session
xcode-cli session status
Add --json before any command for machine-readable output:
xcode-cli --json workspace schemes
xcode-cli --json build build --scheme MyApp
xcode-cli --json simulator list --available
Run without arguments to enter the REPL:
xcode-cli
The REPL provides the same commands with tab completion and command history.
xcode_cli/
__init__.py # Package version
__main__.py # python -m xcode_cli entry point
xcode_cli.py # Click CLI + REPL
utils/
xcode_backend.py # osascript, xcodebuild, xcrun wrappers
repl_skin.py # Terminal UI skin
core/
workspace.py # Workspace/project/scheme operations (AppleScript)
build.py # Build/test/clean/archive (xcodebuild + AppleScript)
simulator.py # Simulator management (xcrun simctl)
devices.py # Physical device management (xcrun devicectl)
editor.py # Editor/document operations (AppleScript)
session.py # Session state management
tests/
__init__.py
graph LR
U[User / Claude] -->|/xcode command| CLI[xcode-cli]
CLI -->|AppleScript| X[Xcode App]
CLI -->|xcodebuild| B[Build System]
CLI -->|xcrun simctl| S[Simulators]
CLI -->|xcrun devicectl| D[Physical Devices]
X -->|Schemes, Destinations| CLI
B -->|Build Status, Errors| CLI
S -->|Screenshots, App Install| CLI
tell application "Xcode"xcodebuild CLI (more reliable output parsing)xcrun simctlxcrun devicectlThis repository is structured as a Claude Code plugin with:
.claude-plugin/plugin.json -- Plugin metadatacommands/xcode.md -- /xcode slash commandskills/xcode/SKILL.md -- Skill definition with triggersMIT -- Marcel R. G. Berger
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub marcelrgberger/xcode-cli --plugin xcode-cliPlugins from other owners that cover similar ground