xdev 0.1.0

xdev - iOS/macOS development CLI
xdev-0.1.0 is not a library.

xdev

iOS/macOS development CLI that wraps xcodebuild, simctl, and devicectl into simple commands.

Installation

cargo install --path .

Usage

# Save project settings
xdev init

# Show workspace info, schemes, simulators, configs
xdev context

# Build for simulator, device, or macOS
xdev build
xdev build --device
xdev build --mac

# Build and run
xdev run
xdev run --device

# Run tests
xdev test

# Clean build artifacts
xdev clean

# Stream logs from running app
xdev logs

# Manage simulators
xdev simulator list
xdev simulator boot <name>
xdev simulator create <name> <device-type> <runtime>
xdev simulator delete <name>

# Manage physical devices
xdev device list
xdev device install <app-path>
xdev device launch <bundle-id>

# UI automation
xdev ui tap <x> <y>
xdev ui swipe <x1> <y1> <x2> <y2>
xdev ui screenshot

JSON Output

All commands support --json for machine-readable output (NDJSON for streaming commands).

xdev context --json
xdev simulator list --json