pzep1/xcode-build-skill/xcode-build
Claude Code and agent skill by pzep1/xcode-build-skill
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install pzep1/xcode-build-skill/xcode-buildSKILL.md
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
2. Find Available Simulators
3. Build for Simulator
4. Install and Launch
5. Take Screenshot
Detailed References
For comprehensive command documentation, see:
- CLI_REFERENCE.md - Full
xcodebuildandxcrun simctlcommand reference - XCUITEST_GUIDE.md - UI automation via XCUITest (tap, type, gestures, element queries)
Common Patterns
Build + Run Workflow
Log Capture
Running Tests
UI Automation
For tapping, typing, and UI element queries, use XCUITest (Apple's native UI testing framework).
This is more powerful than MCP-based automation because:
- Native to iOS, always up-to-date
- Full access to accessibility tree
- Can wait for elements, handle animations
- Integrates with Xcode test runner
See XCUITEST_GUIDE.md for complete patterns.
Quick example:
Run UI tests:
Session Configuration
Unlike MCP, CLI tools don't maintain session state. Use environment variables or a config file:
Troubleshooting
Build fails with "no matching destination"
Simulator won't boot
Can't find built .app
Key Differences from XcodeBuildMCP
| 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 |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/xcode-build/SKILL.md
Popularity
- Repository stars
- 127
- Repository forks
- 7
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/pzep1/xcode-build-skill/xcode-build)