Queue, run, and inspect iOS simulator tests — without simulator collisions, lost artifacts, or mystery failures.
XCSteward is a local-first macOS CLI for iOS development environments where humans, scripts, and coding agents can collide over the same simulator state.
It serializes xcodebuild jobs through a lease-backed queue, isolates every job's DerivedData, logs, .xcresult, and structured JSON summaries, and gives both humans and agents a stable contract for running simulator tests without scraping walls of text.
Requires: Swift 6 · Xcode 16+ · macOS 13+
- Queues simulator test jobs instead of letting agents call
xcodebuilddirectly - Runs one controlled simulator job at a time
- Isolates DerivedData, logs,
.xcresult, and JSON summaries per job - Gives humans and agents a stable CLI contract for test execution
Two agents, one Mac, same project — submitted at the same time:
agent A → xcsteward submit --project app --wait --json
agent B → xcsteward submit --project app --wait --json
Agent A gets the simulator lease and runs.
Agent B waits in the queue.
A finishes with isolated DerivedData, .xcresult, and logs.
B starts after A releases the simulator.
No collision. No mystery failures.
MCPs are useful bridges: they let coding agents call Xcode, Simulator, or XCTest-related tools.
XCSteward solves a different problem. It sits underneath those invocations and coordinates execution against fragile shared local state: CoreSimulator, simulator boot/shutdown, readiness, DerivedData, result bundles, logs, timeouts, cleanup, and process ownership.
In other words: MCPs help an agent ask for a test run. XCSteward makes
that test run happen through a controlled local lane instead of letting
every agent, script, job, and human call xcodebuild/simctl directly.
iOS simulator test execution was designed for one human at a time:
xcodebuild test -destination 'platform=iOS Simulator,name=iPhone 16' ...Point, run, done. But modern workflows run multiple coding agents in parallel — one on the login flow, one fixing a flaky snapshot test, one upgrading a dependency. When two agents hit the same simulator:
| Symptom | Why |
|---|---|
| Simulator boots and shuts down under competing requests | Neither agent owns the device |
xcodebuild -showdestinations returns placeholder-only output |
Xcode can't enumerate a busy simulator |
| "Simulator is already in use" error | Race condition, not a simulator bug |
| Tests pass locally but fail on CI with no evidence | No artifacts preserved, no timeline |
This is not a simulator bug. It's a scheduling problem that raw
xcodebuilddoesn't solve.
XCSteward turns that single-user model into a multi-agent queue:
- Each agent submits a job
- The queue serializes access to the shared simulator pool
- Every job runs to completion with isolated DerivedData, preserved artifacts, and a deterministic result
Agents no longer trip over each other's simulator state.
brew tap acyment/tap
brew install xcstewardVerify:
xcsteward --help
xcsteward doctor --jsonRequires Swift 6 and Xcode 16 or newer.
git clone https://github.com/acyment/XCSteward.git
cd XCSteward
swift build -c release
mkdir -p "$HOME/.local/bin"
cp .build/release/xcsteward "$HOME/.local/bin/xcsteward"Add to PATH if needed:
export PATH="$HOME/.local/bin:$PATH"The default state root is ~/Library/Application Support/XCSteward. Override
per command with --state-root <path> or set XCSTEWARD_HOME=<path>.
Create a project profile from the current repository, then verify and run it:
xcsteward profile init --detect --simulator-id SIM-UDID --json
xcsteward doctor --project "$(basename "$PWD")" --json --progress
xcsteward submit --project "$(basename "$PWD")" --wait --json --progressprofile init --detect --json detects a single .xcworkspace or .xcodeproj
and an unambiguous scheme. Its JSON includes next_commands; follow those when
available. If detection reports multiple schemes, rerun with --scheme <name>.
If you do not know the simulator UDID yet, omit --simulator-id; the profile is
still created and next_commands will show the first submit shape that needs a
concrete --simulator-id.
For long-running JSON commands, add --progress to stream compact events on
stderr while stdout stays reserved for the final JSON object:
xcsteward doctor --project demo-app --json --progress
xcsteward submit --project demo-app --wait --json --progressSubmit progress events are JSON lines on stderr and include additive phase
context when command events are available: phase and phase_elapsed_seconds.
Plain human submit --wait prints the queued job id, status/log commands, job
directory, and compact wait updates so a long build/test run is not silent. To
watch an existing job from another terminal, use:
xcsteward submit --project demo-app --wait --wait-timeout 900
xcsteward status <job-id> --watch
xcsteward logs <job-id> --followHuman wait output is intentionally compact:
Queued job 3add0f97-59e1-41da-94d0-8f7c8978efff (queued).
Status: xcsteward --state-root /path/to/state status 3add0f97-59e1-41da-94d0-8f7c8978efff
Watch: xcsteward --state-root /path/to/state status 3add0f97-59e1-41da-94d0-8f7c8978efff --watch
Logs: xcsteward --state-root /path/to/state logs 3add0f97-59e1-41da-94d0-8f7c8978efff
Follow: xcsteward --state-root /path/to/state logs 3add0f97-59e1-41da-94d0-8f7c8978efff --follow
running 2m31s | simulator C312... | build | last event 12s ago | log /path/to/state/jobs/.../logs/combined.log
For a real app, replace the template with a profile pointing at your repo, scheme, and simulator UDID:
repo_root = "/absolute/path/to/repo"
workspace_path = "App.xcworkspace"
scheme = "App"
default_simulator_id = "SIM-UDID"After a terminal job, inspect the evidence:
xcsteward explain <job-id> --json
xcsteward artifacts <job-id> --json
xcsteward logs <job-id>XCSteward distinguishes build failures, real test failures, and simulator
bootstrap/environment failures. If CoreSimulator fails before XCTest attaches
— for example Unable to boot the Simulator, launchd failed to respond, or
Failed to start launchd_sim — the job finishes as
runner_bootstrap_failure, not test_failure.
If xcodebuild test-without-building times out before XCSteward observes
XCTest attach evidence such as Testing started, Test Suite, or Test Case
output, the job is also reported as runner_bootstrap_failure with a
diagnostic_excerpt.subtype of pre_xctest_timeout. The summary line says
XCTest did not attach before the test command timed out, so agents should
treat it as environment/bootstrap trouble rather than a timed-out test case.
The job summary and human submit --wait / status --watch output state that
the run failed before XCTest attached, preserve the underlying CoreSimulator
detail, and include a bounded remediation hint such as shutting down or erasing
the selected simulator before retrying once. explain <job-id> --json repeats
that classification and recommended action for agents. Terminal JSON may include
diagnostic_excerpt with the subtype, phase, timeout seconds, evidence paths,
and a capped log excerpt.
When a job is still queued or in simulator/bootstrap setup, logs <job-id> may
not have a combined.log to print yet. In that case XCSteward reports that the
combined log is pending and points back to status <job-id> --watch instead of
failing with an opaque missing-file error.
Agent workflow examples are in Examples/agents.
# Submit
xcsteward submit --project <name> [--wait] [--wait-timeout 300] [--json]
xcsteward submit --project <name> --only-testing AppTests/FooTests --skip-testing AppTests/FooTests/testFlaky --wait
xcsteward submit --project <name> --only-test-configuration Smoke --skip-test-configuration Flaky --wait
xcsteward submit --project <name> --metadata agent=codex --metadata task=<id> --label smoke --wait --json
xcsteward submit --project <name> --env KEY=VALUE --env OTHER=VALUE --wait --json
# Profiles
xcsteward projects [--json]
xcsteward profile show <name> [--json]
xcsteward profile init --detect [--repo-root .] [--name <name>] [--scheme <scheme>] [--simulator-id <udid>] --json
# Inspect
xcsteward status <job-id> [--watch] [--interval 2] [--json]
xcsteward jobs [--json]
xcsteward explain <job-id> [--json]
xcsteward logs <job-id> [--follow]
xcsteward artifacts <job-id> [--json]
xcsteward cancel <job-id> [--json]
# Maintenance
xcsteward doctor [--project <name>] [--fix] [--fix-global --dangerously-confirm-global-coresimulator-cleanup] [--json]
xcsteward cleanup [--dry-run] [--apply] [--older-than 7d] [--keep-last 20] [--max-total-size 50gb] [--json]
xcsteward cleanup --caches [--dry-run] [--apply] [--json]cleanup is dry-run by default. It selects terminal jobs under jobs/, keeps
the newest, skips active leases and live PIDs, and respects --max-total-size.
Use --apply to delete. cleanup --caches switches to XCSteward-owned cache
items such as doctor retained evidence and host-health snapshots; it does not
select job evidence.
doctor reports stale worker and simulator leases. --fix removes leases
owned by dead XCSteward processes without touching active ones. Broad
CoreSimulator cleanup requires --fix-global plus the danger confirmation flag.
CONTRACT.mdis the authoritative, versioned spec for the machine-readable interface (commands, JSON shapes, enums, exit-code table, and the evolution policy). For driving XCSteward from an agent, seeAGENTS.md. The summary below is a quick reference.
Commands with --json write one JSON document to stdout. Every JSON document
includes a top-level integer schema_version (currently 1); treat unknown
future fields as additive. Commands return a documented exit code — 0 for
success, and distinct nonzero codes for usage errors, job outcomes (test
failure, timeout, infra failure, …), and doctor failure. See the exit-code table
in CONTRACT.md.
When --json is present but the command fails before loading its object,
XCSteward writes one JSON error to stderr and leaves stdout empty:
{
"error": {
"code": "usage",
"message": "submit requires --project"
},
"schema_version": 1
}Stable error codes: usage, not_found, invalid_configuration,
state_root_unavailable, command_failed, canceled, unexpected_error.
submit --json, submit --wait --json, status --json, and cancel --json:
{
"job_id": "UUID",
"project": "demo",
"state": "queued",
"result_class": null,
"exit_code": null,
"submitted_at": 1760000000.0,
"started_at": null,
"finished_at": null,
"duration_seconds": null,
"test_plan": null,
"only_testing": [],
"simulator_id": null,
"counts": null,
"artifacts": {
"xcresult": null,
"combinedLog": null,
"buildLog": null,
"testLog": null,
"derivedData": null,
"diagnostics": null,
"junit": null
},
"summary_line": "UUID queued",
"metadata": {},
"diagnostic_excerpt": null
}Stable states: queued, running, succeeded, failed, canceled,
interrupted. Stable result classes: success, build_failure,
build_timeout, test_failure, test_timeout, unsupported_destination,
runner_bootstrap_failure, artifact_failure, canceled, internal_error.
runner_bootstrap_failure means the runner/environment failed before XCTest
attached, such as simulator boot, launch session, launchd_sim, destination,
runner setup failures, or a test command timeout before XCTest attached.
Timestamps are Unix epoch seconds. Nullable fields are present even when
unknown.
status --watch --json prints newline-delimited JobSummary objects until the
job is terminal. One-shot status --json remains a single JSON object. Human
status --watch prints compact state/progress lines at the polling interval.
jobs --json returns an array of compact objects:
[
{
"job_id": "UUID",
"project": "demo",
"state": "succeeded",
"result_class": "success"
}
]artifacts --json returns the artifacts object from the terminal job
summary. Paths are absolute local filesystem paths and can be null when not
produced.
cleanup --json returns:
{
"dry_run": true,
"older_than_seconds": 604800,
"keep_last": 20,
"max_total_bytes": 53687091200,
"cutoff": 1760000000.0,
"total_managed_bytes": 120000000000,
"selected_bytes": 70000000000,
"candidate_count": 2,
"deleted_count": 0,
"candidates": [
{
"job_id": "UUID",
"state": "succeeded",
"result_class": "success",
"finished_at": 1760000000.0,
"job_directory": "/absolute/path/to/state/jobs/UUID",
"deleted": false,
"bytes": 35000000000,
"reason": "size_budget"
}
],
"cache_selected_bytes": 0,
"cache_candidate_count": 0,
"cache_deleted_count": 0,
"cache_candidates": []
}Candidate reasons: age, size_budget. bytes is best-effort allocated disk
usage with logical file size as fallback. max_total_bytes is null when not
supplied. With cleanup --caches, job candidates stay empty and
cache_candidates lists XCSteward-owned state-root cache/evidence items.
doctor --json returns:
{
"overall_status": "pass",
"checks": [
{
"id": "global.xcode_available",
"status": "pass",
"message": "xcodebuild is available",
"auto_fixable": false,
"fixed": false,
"manual_action": null
}
],
"profiles_checked": []
}Doctor statuses: pass, warn, fail. Agents should treat unknown future
fields as additive, preserve the full JSON in logs, and make control-flow
decisions from state, result_class, overall_status, dry_run,
candidate_count, and deleted_count.
Use --state-root <path> for a specific state directory. Default:
~/Library/Application Support/XCSteward.
Set XCSTEWARD_MAX_CONCURRENT_JOBS=<n> to allow up to n queued jobs at once.
Default is 1. Concurrent jobs still require distinct simulator UDIDs — each
is leased exclusively.
When concurrency is enabled, XCSteward writes a host-health.json snapshot and
reduces dispatch to one job when health signals indicate constrained capacity.
Supported environment inputs:
| Variable | Behavior |
|---|---|
XCSTEWARD_MEMORY_PRESSURE |
Injected memory pressure level |
XCSTEWARD_SAMPLE_MEMORY_PRESSURE |
Sample macOS memory_pressure; reduces dispatch on warning/serious/critical |
XCSTEWARD_THERMAL_STATE |
Injected thermal state |
XCSTEWARD_SAMPLE_THERMAL_STATE |
Sample pmset -g therm; reduces dispatch on serious/critical CPU throttling |
XCSTEWARD_MAX_LOAD_AVERAGE |
Reduce dispatch when 1-minute load reaches threshold |
XCSTEWARD_LOAD_AVERAGE |
Override sampled load average |
XCSTEWARD_MAX_BOOTED_SIMULATORS |
Cap booted simulators |
XCSTEWARD_BOOTED_SIMULATOR_COUNT |
Override booted count |
XCSTEWARD_MAX_ACTIVE_SIMULATOR_LEASES |
Cap simulator lease pressure independently from job count |
XCSTEWARD_FOREIGN_ACTIVITY_POLICY |
capacity (default), strict, or ignore for non-XCSteward xcodebuild activity |
XCSTEWARD_RECENT_INFRA_FAILURE_LIMIT + XCSTEWARD_RECENT_INFRA_FAILURE_WINDOW_SECONDS |
Drain gate |
XCSTEWARD_INFRA_FAILURE_DRAIN_LIMIT |
Write draining=true and stop dispatch when reached |
Recovered runner/bootstrap incidents (including shard retries that ultimately succeed) count as recent infrastructure failures for the capacity gate.
Profiles live under <state-root>/projects/<name>.toml.
repo_root = "/absolute/path/to/repo"
project_path = "App.xcodeproj"
scheme = "App"
default_simulator_id = "SIM-UDID"Set exactly one of project_path or workspace_path. repo_root and scheme
are required. A simulator comes from default_simulator_id, an allowed
--simulator-id override, or a [managed_simulator] block.
Create and verify:
STATE_ROOT="${XCSTEWARD_HOME:-$HOME/Library/Application Support/XCSteward}"
mkdir -p "$STATE_ROOT/projects"
$EDITOR "$STATE_ROOT/projects/demo.toml"
xcsteward projects --json
xcsteward profile show demo --json
xcsteward doctor --project demo
xcsteward submit --project demo --wait --wait-timeout 300 --jsonFor a simple repository with a single shared project/workspace and an unambiguous scheme, agents can create the initial profile noninteractively from the repository root:
xcsteward profile init --detect --jsonThe generated document includes profile.name, profile_path, warnings, and
next_commands. If multiple schemes are shared, rerun with --scheme <name>.
If the agent already knows the simulator, pass --simulator-id SIM-UDID;
otherwise use the next_commands submit example with a concrete
--simulator-id.
repo_root = "/absolute/path/to/repo"
project_path = "App.xcodeproj"
scheme = "App"
default_simulator_id = "SIM-123"
default_test_plan = "Stable"
allowed_simulator_ids = ["SIM-123"]
reset_policy = "none" # none | shutdown | erase
[timeouts]
boot = 30
build = 600
test = 600
[destination]
timeout = 30
[coverage]
enabled = true
[result_stream]
enabled = false
[result_bundle]
version = 3
[parallel]
mode = "xcode-managed"
max_workers = 1
exact_workers = false
shard_count = 1
[ports]
base = 51000
count = 16
stride = 100
[test_timeouts]
enabled = true
default_execution_time_allowance = 120
maximum_execution_time_allowance = 600
[test_retries]
enabled = false
iterations = 1
retry_tests_on_failure = true
run_tests_until_failure = false
relaunch_between_iterations = false
[test_diagnostics]
collect = "on-failure"
[test_products]
enabled = false
use_for_testing = false
[privacy]
reset = ["all"]
grant = ["photos:com.example.App", "location:com.example.App"]
revoke = ["microphone:com.example.App"]
[env]
FOO = "bar"Defaults: mode = "xcode-managed", max_workers = 1, exact_workers = false.
XCSteward lets Xcode manage test workers during test-without-building.
Each job records an exclusive simulator lease; stale leases from dead processes
are recovered before the next job. Active jobs refresh lease heartbeats during
long build/test phases.
Use higher max_workers only after a live smoke job proves Xcode clone
simulator launches are stable on the host. Targeted single-method submissions
serialize automatically unless exact_workers = true.
Serial mode for single-worker behavior:
[parallel]
mode = "serial"Opt-in. XCSteward builds once, enumerates tests, then runs shard_count
concurrent test-without-building invocations with Xcode inner parallelism
disabled. Each non-empty shard needs its own simulator UDID unless
[managed_simulator] enables clone_for_shards.
With clone provisioning, XCSteward shuts down the managed template after
enumeration, creates temporary simctl clone simulators for missing shard
slots, leases them, and deletes only those temporary clones after the job.
Each shard writes its own .xcresult.
When all shards succeed, XCSteward attempts best-effort xcresulttool merge
into artifacts/merged.xcresult. Per-shard bundles remain the source of truth
if merge fails.
After a successful shard run, XCSteward records per-test duration samples; later manual and hybrid runs use those timings to balance shards. If no timing history exists, it falls back to round-robin splitting.
If a shard fails before XCTest starts, XCSteward retries once after
simctl shutdown, simctl erase, and fresh boot. Per-shard diagnostics
include attempts, retry_reason, and simulator_diagnostics paths.
default_simulator_id = "SIM-123"
allowed_simulator_ids = ["SIM-123", "SIM-456"]
[parallel]
mode = "manual-shards"
shard_count = 2Outer sharding with Xcode-managed inner parallelism:
[parallel]
mode = "hybrid"
shard_count = 2
max_workers = 2
exact_workers = falserepo_root = "/absolute/path/to/repo"
project_path = "App.xcodeproj"
scheme = "App"
[managed_simulator]
name = "App Test iPhone 17 Pro"
device_type = "iPhone 17 Pro"
runtime = "iOS 26.4"
clone_for_shards = truereset_policy:none(default),shutdown, orerase. Cleans only XCSteward-leased simulators after a job. Retry recovery still uses targeted shutdown/erase on infrastructure failures.[destination]: passes-destination-timeout <seconds>to destination-bearingxcodebuildinvocations. Omit to leave Xcode's default.[coverage]: passes-enableCodeCoverage YES|NOtobuild-for-testingand everytest-without-building. Applied to both phases because coverage is decided during build.[result_stream]: whenenabled = true, pre-creates the stream file and passes-resultStreamPath.[result_bundle]: passes-resultBundleVersion <version>to everytest-without-buildingthat writes.xcresult.- Environment variables: every
xcodebuildgetsXCSTEWARD_JOB_ID,XCSTEWARD_PROJECT,XCSTEWARD_PHASE, and run-scopedTMPDIR. Test invocations also getTEST_RUNNER_*variants. Manual/hybrid shards getXCSTEWARD_SHARD_ID,XCSTEWARD_SHARD_INDEX,XCSTEWARD_TOTAL_SHARDS, and matchingTEST_RUNNER_*variables with separate shardTMPDIR. Profile[env]values are merged into tool invocations; repeatable submit--env KEY=VALUEoverrides profile env for that job only. Run metadata and command log headers record env override keys, not sensitive values. --only-testing/--skip-testing: passed directly to Xcode-managed runs. Manual/hybrid shards use--only-testingas explicit shard input; when none provided, enumerated tests are filtered with--skip-testingbefore splitting, then skip filters pass to each shard.--only-test-configuration/--skip-test-configuration: passed through to Xcode on enumeration and everytest-without-buildinginvocation.[ports]: reserves deterministic port ranges. InjectsXCSTEWARD_PORT_RANGE_*and matchingTEST_RUNNER_*variables. Non-sharded runs use index0. Manual/hybrid shards usebase + shard_index * stride. Validated to fit within TCP port 65535.[privacy]: appliesxcrun simctl privacyto each leased simulator before tests. Supported services:all,calendar,contacts-limited,contacts,location,location-always,photos-add,photos,media-library,microphone,motion,reminders,siri. Applied independently to every shard simulator including temporary managed clones.[test_timeouts]: defaults shown above. Setenabled = falseto pass-test-timeouts-enabled NO. Defaults:-test-timeouts-enabled YES,-default-test-execution-time-allowance 120,-maximum-test-execution-time-allowance 600.[test_retries]: opt-in Xcode native repetition. Passes-test-iterations <iterations>plus-retry-tests-on-failureor-run-tests-until-failure. Separate from XCSteward's infrastructure retry path.retry_tests_on_failureandrun_tests_until_failureare mutually exclusive.relaunch_between_iterationspasses-test-repetition-relaunch-enabled YES/NO.[test_diagnostics]:collect = "on-failure"or"never". Omit to leave scheme default.run-metadata.json: audit manifest written by every terminal job. Includes job state, result classification, simulator UDID, selected Xcode/macOS versions, request filters, profile policy, and artifact paths.- Retry preservation: when XCSteward retries a runner/bootstrap failure, the
first-attempt
.xcresultis preserved underartifacts/attempts/test-attempt-001/and recorded inrun-metadata.json. xcodebuild-help.txt: best-effort snapshot ofxcodebuild -help, linked fromrun-metadata.json. Failed/timed-out probes are recorded underprobe_warningswith source, command, exit code, timeout status, and bounded output excerpt.[test_products]:enabled = truepasses-testProductsPathduringbuild-for-testing. Default execution still uses.xcctestrun. Setuse_for_testing = trueto also pass it totest-without-buildinginstead of-xctestrun. Requiresenabled = true.
Run tests:
swift testFast tier for the refactor loop (writes suite-health JSON to
.build/test-suite/):
bash scripts/run-test-suite.sh --tier fastRelease tier before shipping (keep the report with hardening-matrix and dogfood artifacts):
bash scripts/run-test-suite.sh --tier release --continue-on-failure \
--report .build/test-suite/public-alpha-fake.jsonTargeted verification with checked filter wrapper (prevents stale --filter
from passing as a zero-test run):
bash scripts/run-swift-test-filter.sh --filter SubmitCommandE2ETests/testSubmitWaitSuccessCreatesArtifactsAndStructuredSummaryOpt-in live Xcode-managed parallel smoke test against a real simulator:
XCSTEWARD_RUN_LIVE_XCODE_MANAGED_SMOKE=1 \
XCSTEWARD_LIVE_SIMULATOR_ID=<simulator-udid> \
swift test --filter LiveXcodeManagedParallelSmokeTestsBy default this generates a tiny Swift package and runs it through XCSteward
with parallel.mode = "xcode-managed" and exact_workers = true (worker
count 2). To point at an existing project, also set XCSTEWARD_LIVE_REPO_ROOT,
XCSTEWARD_LIVE_SCHEME, and optionally XCSTEWARD_LIVE_PROJECT_PATH or
XCSTEWARD_LIVE_WORKSPACE_PATH.
Run the built binary:
./.build/arm64-apple-macosx/debug/xcsteward doctor --jsonNote
XCSteward is public-alpha software. Use it first on disposable or low-risk
local state and keep raw xcodebuild as the fallback.
| Category | Detail |
|---|---|
| Supported | Local Apple Silicon or Intel Mac, macOS 13+, Swift 6, Xcode 16+ selected by xcode-select, iOS Simulator execution, serialized local jobs |
| Experimental | Xcode-managed parallelism, manual sharding, multi-job dispatch, shared-Mac operation. Require explicit opt-in and passed live dogfood run on target host |
| Out of scope | Native macOS app destinations (-destination platform=macOS), multi-host scheduling, hosted dashboards. Native macOS support is post-alpha roadmap work |
XCSteward is host-local. Queue, worker lease, simulator lease, and artifact state live under one state root on one Mac. Distributed coordination is out of scope today.
The public alpha targets recent local Xcode installs and local iOS Simulator execution. Older Xcode versions, unusual toolchain selections, beta simulator runtimes, and CI-hosted macOS images may work but are not in the supported range until they have live dogfood coverage.
Native macOS app destinations are post-alpha. Profiles target iOS Simulator
execution; run native macOS app tests with direct
xcodebuild -destination platform=macOS until XCSteward adds a simulator-free
path. Mac-only schemes return unsupported_destination instead of being run
against a simulator.
XCSteward recovers from stale XCSteward-owned leases and targeted simulator
failures, but broad host repair requires an operator decision. doctor --fix
is XCSteward-scoped by default. Global CoreSimulator cleanup requires
doctor --fix-global --dangerously-confirm-global-coresimulator-cleanup.
Artifacts are preserved for completed jobs; retry attempts preserve their own
attempt-specific bundles. The cleanup command provides conservative age-based
terminal-job cleanup and optional total-size budgeting. Hosts still need disk
monitoring for non-XCSteward storage and protected active jobs.
--json output is structured and stable enough for agents. Parse stdout for
loaded command results and stderr for command error documents; use the process
exit code for the top-level outcome.
Manual and hybrid sharding rely on test enumeration and Xcode result tooling. If those tools change or fail, XCSteward records best-effort diagnostics but may need follow-up fixes for new Xcode releases.
Concurrent dispatch and shared-Mac use are still alpha surfaces. Leave
XCSTEWARD_MAX_CONCURRENT_JOBS unset unless you have run the hardening matrix
and a live smoke test on that host.
| Resource | Path |
|---|---|
| Operator runbook | docs/public-alpha.md |
| Hardening matrix | docs/hardening-matrix.md |
| Live dogfood evidence | docs/dogfood-ledger.md |
| Agent workflow examples | Examples/agents |
| Website update prompt | docs/xcsteward-website-update-prompt.md |
| Sample profiles | Examples/profiles |
| Demo iOS fixture | Examples/DemoApp |
brew uninstall xcsteward
brew untap acyment/tapRemove the binary:
rm "$HOME/.local/bin/xcsteward"Clean old terminal jobs without touching active or non-XCSteward state:
xcsteward cleanup --dry-run --older-than 7d --keep-last 20 --max-total-size 50gb --json
xcsteward cleanup --apply --older-than 7d --keep-last 20 --max-total-size 50gb --jsonClean XCSteward-owned cache/evidence files without deleting job artifacts:
xcsteward cleanup --caches --dry-run --json
xcsteward cleanup --caches --apply --jsonRemove all XCSteward-local state after stopping active workers:
rm -rf "$HOME/Library/Application Support/XCSteward"If you used XCSTEWARD_HOME or --state-root, remove that directory instead.
Do not delete global CoreSimulator state as part of uninstalling XCSteward.