What problem does it solve?
This Skill enables developers and testers to build, run, and automate iOS/macOS projects directly from the command line using Xcode's native tools (xcodebuild and xcrun simctl). It replaces MCP-based tooling and reduces reliance on external servers, speeding up CI/local workflows and simplifying the debugging process.
Core Features & Use Cases
- Builds apps for iOS, macOS, and simulators using xcodebuild.
- Simulator management with xcrun simctl (boot, install, launch, logs).
- Screenshots & logs capture from the simulator for quick validation.
- UI testing automation via XCUITest in CLI workflows.
- Discovery: quickly inspect schemes, destinations, and build settings.
Quick Start
Build for a local workspace:
xcodebuild -workspace /path/to/App.xcworkspace -scheme App -destination "platform=iOS Simulator,id=$UDID" build
Find the built app and install on the simulator:
APP_PATH=$(find /tmp/build -name "*.app" -type d | head -1)
xcrun simctl install $UDID "$APP_PATH"
Launch the app:
xcrun simctl launch $UDID com.your.app