Skip to content

Direct xcodebuild and xcrun simctl workflows for building, simulating, and testing iOS/macOS apps without MCP servers.

CCM score
45 of 100
skills.sh installs
322
GitHub stars
138
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full loop: discover schemes, find simulators, build, install, launch, screenshot, capture logs, and run tests
  • Includes shell patterns for xcodebuild, xcrun simctl, and log stream, plus XCUITest examples for tapping and typing
  • Relies on environment variables such as SIM_UDID and XCODE_SCHEME in place of session state that MCP tools would hold
  • Designed for developers who want native Xcode CLI tooling in place of XcodeBuildMCP for iOS and macOS work

Install

$ npx -y skills add pzep1/xcode-build-skill --skill xcode-build -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Xcode Build Direct

Build and manage iOS/macOS projects using native Xcode CLI tools instead of MCP servers.

When to Use This Skill

Use this skill when:

  • Building iOS or macOS apps with Xcode
  • Running apps in iOS simulators
  • Managing simulator instances (boot, shutdown, list)
  • Taking screenshots of simulators
  • Capturing app logs
  • Running tests (unit or UI)
  • Automating UI interactions (tap, type, swipe)

Preference: Always use direct CLI commands (xcodebuild, xcrun simctl) instead of XcodeBuildMCP tools.

Quick Start

1. Discover Project Structure

# 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

2. Find Available Simulators

# 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

Details

Repository
github.com/pzep1/xcode-build-skill
Categories
Mobile Apps, CLI & Terminal
First seen
Jun 3, 2026

Questions

What does the xcode-build skill do?

The xcode-build skill teaches an agent to build and run iOS and macOS apps using xcodebuild and xcrun simctl directly, instead of an MCP server. It covers building projects, managing simulators, taking screenshots, capturing logs, running unit and UI tests, and automating UI interactions with XCUITest.

How do I install the xcode-build skill?

Run npx -y skills add pzep1/xcode-build-skill --skill xcode-build -y inside your project. Once installed, the agent can use native Xcode CLI tools to build and manage your iOS or macOS app.

What do I need to use the xcode-build skill?

You need macOS with Xcode installed and an agentic harness that runs the skill. The jq tool is optional and only helps parse JSON output from simulator commands.

Where does xcode-build stand in the Mobile Apps category?

The xcode-build skill sits in the Mobile Apps category alongside vercel-react-native-skills, animate-expo, write-swift, firebase-crashlytics and xcode-project-setup. It focuses on native Xcode command-line builds and simulator control rather than app UI or framework guidance.

Can xcode-build run UI tests and tap buttons in the simulator?

Yes, the skill covers running unit and UI tests with xcodebuild and explains UI automation through XCUITest, including tapping, typing and checking elements. It does not rely on coordinate-based MCP tools for these interactions.

Similar to Xcode Build

More Mobile Apps