Orca iOS Simulator Control
stablyai/orca
iOS Simulator control from inside Orca, with the live device view in Orca's emulator pane. Use when driving a booted Apple Simulator on macOS: taps, gestures…
Build and run iOS/macOS apps using xcodebuild and xcrun simctl directly.
$ npx skills add pzep1/xcode-build-skill --skill xcode-build -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install pzep1/xcode-build-skill xcode-build --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/pzep1/xcode-build-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/xcode-build .claude/skills/xcode-build && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "xcode-build" agent skill from https://github.com/pzep1/xcode-build-skill/tree/main/skills/xcode-build into .claude/skills/xcode-build/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xcode-build", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/pzep1/xcode-build-skill/tree/main/skills/xcode-buildType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add pzep1/xcode-build-skill --skill xcode-build -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install pzep1/xcode-build-skill xcode-build --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pzep1/xcode-build-skill.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/xcode-build .agents/skills/xcode-build && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "xcode-build" agent skill from https://github.com/pzep1/xcode-build-skill/tree/main/skills/xcode-build into .agents/skills/xcode-build/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xcode-build", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pzep1/xcode-build-skill --skill xcode-build -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install pzep1/xcode-build-skill xcode-build --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pzep1/xcode-build-skill.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/xcode-build .cursor/skills/xcode-build && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "xcode-build" agent skill from https://github.com/pzep1/xcode-build-skill/tree/main/skills/xcode-build into .cursor/skills/xcode-build/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xcode-build", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/pzep1/xcode-build-skill.git --path skills/xcode-build--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add pzep1/xcode-build-skill --skill xcode-build -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install pzep1/xcode-build-skill xcode-build --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pzep1/xcode-build-skill.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/xcode-build .gemini/skills/xcode-build && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "xcode-build" agent skill from https://github.com/pzep1/xcode-build-skill/tree/main/skills/xcode-build into .gemini/skills/xcode-build/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xcode-build", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install pzep1/xcode-build-skill xcode-buildInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add pzep1/xcode-build-skill --skill xcode-build -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/pzep1/xcode-build-skill.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/xcode-build .github/skills/xcode-build && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "xcode-build" agent skill from https://github.com/pzep1/xcode-build-skill/tree/main/skills/xcode-build into .github/skills/xcode-build/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xcode-build", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pzep1/xcode-build-skill --skill xcode-build -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install pzep1/xcode-build-skill xcode-build --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pzep1/xcode-build-skill.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/xcode-build .opencode/skills/xcode-build && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "xcode-build" agent skill from https://github.com/pzep1/xcode-build-skill/tree/main/skills/xcode-build into .opencode/skills/xcode-build/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xcode-build", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
xcode-buildBuild and run iOS/macOS apps using xcodebuild and xcrun simctl directly.
Xcode Build is an agent skill from pzep1/xcode-build-skill. Build and run iOS/macOS apps using xcodebuild and xcrun simctl directly. Use when building Xcode projects, running iOS simulators, managing devices, compiling Swift code, running UI tests, or automating iOS app interactions. Replaces XcodeBuildMCP with native CLI tools.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `CLI_REFERENCE.md` and `XCUITEST_GUIDE.md`).
It sits in Mobile, covering iOS development. It works with Xcode, iOS, macOS and Model Context Protocol. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 9b5c313. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashReadGrepGlobFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
xcrunxcodebuildjqFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Xcode Build loads about 1.5k tokens when it runs. Until then it costs about 71 tokens; SKILL.md has 261 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, Read, Grep, GlobAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from pzep1/xcode-build-skill at commit 9b5c313, republished under its MIT licence (© pzep1). 261 words, ~1,483 tokens.
.claude/skills/xcode-build/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Build and manage iOS/macOS projects using native Xcode CLI tools instead of MCP servers.
Use this skill when:
Preference: Always use direct CLI commands (xcodebuild, xcrun simctl) instead of XcodeBuildMCP tools.
# List schemes in a workspace
xcodebuild -workspace /path/to/App.xcworkspace -list
# List schemes in a project
xcodebuild -project /path/to/App.xcodeproj -list
# Show build settings
xcodebuild -workspace /path/to/App.xcworkspace -scheme AppScheme -showBuildSettings# List all simulators
xcrun simctl list devices
# List as JSON (better for parsing)
xcrun simctl list devices --json
# List only available simulators
xcrun simctl list devices available# Get simulator UUID first
UDID=$(xcrun simctl list devices --json | jq -r '.devices | .[].[] | select(.name=="iPhone 16 Pro") | .udid' | head -1)
# Build
xcodebuild \
-workspace /path/to/App.xcworkspace \
-scheme AppScheme \
-destination "platform=iOS Simulator,id=$UDID" \
-configuration Debug \
-derivedDataPath /tmp/build \
build# Find the built .app
APP_PATH=$(find /tmp/build -name "*.app" -type d | head -1)
# Install on simulator
xcrun simctl install $UDID "$APP_PATH"
# Launch app
xcrun simctl launch $UDID com.your.bundleidxcrun simctl io $UDID screenshot /tmp/screenshot.pngFor comprehensive command documentation, see:
xcodebuild and xcrun simctl command reference# 1. Boot simulator
xcrun simctl boot $UDID 2>/dev/null || true
# 2. Build
xcodebuild -workspace App.xcworkspace -scheme App \
-destination "platform=iOS Simulator,id=$UDID" \
-derivedDataPath /tmp/build build
# 3. Find and install app
APP=$(find /tmp/build -name "*.app" -type d | head -1)
xcrun simctl install $UDID "$APP"
# 4. Launch with console output
xcrun simctl launch --console $UDID com.bundle.id# Stream app logs (run in background)
/usr/bin/log stream \
--predicate 'processImagePath CONTAINS[cd] "AppName"' \
--style json &
LOG_PID=$!
# ... interact with app ...
# Stop logging
kill $LOG_PID# Unit tests
xcodebuild -workspace App.xcworkspace -scheme App \
-destination "platform=iOS Simulator,id=$UDID" \
test
# Specific test class
xcodebuild -workspace App.xcworkspace -scheme App \
-destination "platform=iOS Simulator,id=$UDID" \
-only-testing "AppTests/MyTestClass" \
testFor tapping, typing, and UI element queries, use XCUITest (Apple's native UI testing framework).
This is more powerful than MCP-based automation because:
See XCUITEST_GUIDE.md for complete patterns.
Quick example:
// In a UI test file
func testLogin() {
let app = XCUIApplication()
app.launch()
// Type in text field
app.textFields["email"].tap()
app.textFields["email"].typeText("user@example.com")
// Tap button
app.buttons["Login"].tap()
// Verify result
XCTAssertTrue(app.staticTexts["Welcome"].exists)
}Run UI tests:
xcodebuild -workspace App.xcworkspace -scheme AppUITests \
-destination "platform=iOS Simulator,id=$UDID" \
testUnlike MCP, CLI tools don't maintain session state. Use environment variables or a config file:
# Set up session variables
export XCODE_WORKSPACE="/path/to/App.xcworkspace"
export XCODE_SCHEME="App"
export SIM_UDID="DD5E339B-468E-43C7-B219-54112C9D3250"
export APP_BUNDLE_ID="com.your.app"
# Use in commands
xcodebuild -workspace "$XCODE_WORKSPACE" -scheme "$XCODE_SCHEME" ...
xcrun simctl launch "$SIM_UDID" "$APP_BUNDLE_ID"# Check available destinations
xcodebuild -workspace App.xcworkspace -scheme App -showDestinations
# Use exact destination string from output# Check if already booted
xcrun simctl list devices | grep Booted
# Force shutdown and reboot
xcrun simctl shutdown $UDID
xcrun simctl boot $UDID# Check derived data path you specified
ls -la /tmp/build/Build/Products/Debug-iphonesimulator/
# Or use default derived data
ls ~/Library/Developer/Xcode/DerivedData/| Feature | XcodeBuildMCP | This Skill |
|---|---|---|
| Build | build_sim({...}) | xcodebuild -workspace ... build |
| List sims | list_sims() | xcrun simctl list devices |
| Launch app | launch_app_sim({...}) | xcrun simctl launch $UDID $BUNDLE |
| Screenshot | screenshot({...}) | xcrun simctl io $UDID screenshot |
| Tap/Type | tap({x,y}), type_text({...}) | XCUITest framework |
| Session state | Built-in | Environment variables |
© pzep1, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files in skills/xcode-build of pzep1/xcode-build-skill.
Open the folder on GitHubat commit 9b5c313
Xcode Build next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Xcode Build this skillpzep1/xcode-build-skill | 138 | — | ~1.5k | Automated safety check: Notes | MIT | |
| Orca iOS Simulator Controlstablyai/orca | 87k | 1 repos | ~584 | Automated safety check: Pass | Apache-2.0 | |
| Apple Crash Log .NET Symbolicationdotnet/skills | 5.6k | 1 repos | ~2.4k | Automated safety check: Pass | MIT | |
| Update Swiftui APIsAvdLee/SwiftUI-Agent-Skill | 3.7k | — | ~1.2k | Automated safety check: Pass | MIT | |
| iOS Simulator Skillconorluddy/ios-simulator-skill | 1.3k | — | ~5.7k | Automated safety check: Pass | MIT | |
| Macios Xcode Beta Updatedotnet/macios | 2.9k | — | ~1.8k | Automated safety check: Pass | Custom licence |
stablyai/orca
iOS Simulator control from inside Orca, with the live device view in Orca's emulator pane. Use when driving a booted Apple Simulator on macOS: taps, gestures…
dotnet/skills
Resolves .NET runtime frames in Apple .ips crash logs to function names, source files and line numbers using dSYM symbols, atos and the Microsoft symbol server.
AvdLee/SwiftUI-Agent-Skill
Scan Apple's SwiftUI documentation for deprecated APIs and update the SwiftUI Expert Skill with modern replacements.
conorluddy/ios-simulator-skill
29 production-ready scripts for iOS app testing, building, and automation.
dotnet/macios
Update dotnet/macios to a new Xcode beta and validate it end-to-end.
Odevio/Odevio-CLI
Take a Flutter project to an iPhone or the App Store with Odevio - build, sign and publish iOS apps from Windows, Linux or macOS with no Mac and no Xcode.
Works with
Categories
Build and run iOS/macOS apps using xcodebuild and xcrun simctl directly. Xcode Build is an agent skill from pzep1/xcode-build-skill. Build and run iOS/macOS apps using xcodebuild and xcrun simctl directly.
Xcode Build fits situations like: building Xcode projects; running iOS simulators; managing devices; compiling Swift code.
Run `npx skills add pzep1/xcode-build-skill --skill xcode-build -a claude-code`. Or copy the skill folder (skills/xcode-build in pzep1/xcode-build-skill) into .claude/skills/xcode-build in your project. Claude Code loads it when a task matches its description.
Run `npx skills add pzep1/xcode-build-skill --skill xcode-build -a codex`. Or copy the skill folder (skills/xcode-build in pzep1/xcode-build-skill) into .agents/skills/xcode-build in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pzep1/xcode-build-skill --skill xcode-build -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xcode-build, .gemini/skills/xcode-build, .github/skills/xcode-build and .opencode/skills/xcode-build in your project.
Going by SKILL.md and its folder, Xcode Build needs the command-line tools its instructions call (xcrun, xcodebuild and jq). Its frontmatter pre-approves these tools: Bash, Read, Grep, Glob.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Xcode Build is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Xcode Build: Orca iOS Simulator Control (stablyai/orca, 87k stars), Apple Crash Log .NET Symbolication (dotnet/skills, 5.6k stars), Update Swiftui APIs (AvdLee/SwiftUI-Agent-Skill, 3.7k stars) and iOS Simulator Skill (conorluddy/ios-simulator-skill, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
pzep1 (a GitHub user) maintains it in pzep1/xcode-build-skill, which has 138 GitHub stars. The repository was last updated on February 4, 2026.
Source: pzep1/xcode-build-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.