Skip to content
xcloom
EN/中文

Local iOS toolchain for Claude Code, Codex, and Cursor

Cut Xcode waits for iOS agents

iOS coding agents lose most of a session waiting on Xcode and simulators. On macOS, XCLoom shares compiled build caches across git worktrees, slims simulator RAM, signs without Keychain prompts, and runs offline App Store preflight.

Read the Benchmarks
71%

Local Tool Wait

147.1 min · 71%

Pre-XCLoom wall-clock split across two real Claude Code sessions (317.4 min total) on the author's production iOS + watchOS app (77.7 MB .ipa), showing 69% to 71% spent waiting on local builds and simulator loops.

Fresh worktree
46.0x (1.00s)
Warm content-addressed cache (CAS) on IceCubesApp (up to 51.5x / 0.45s on sample-food-truck; cold build 1.11x–3.07x)
Warm hot patch
14.2x (1.93s)
Signal-iOS 1-line Swift edit (27.37s -> 1.93s, 89 KB signed .dylib, separate Xcode 27.2 run; direct full .app relink 14.18s; sample-food-truck 0.37s)
Slim sim & UI
-20.3% to -57.3%
Safe Default / App-Aware --for MinimalApp.app RAM; 1.44s warmed 4-state UI sweep (sample-food-truck)
Offline preflight
31 checks / 1.87s
22 ITMS-* + 9 dev hot-reload leak checks before upload (77.7 MB .ipa)
A long chain of punched cards feeding an industrial Jacquard loom
Punch cards industrial loom. Sunfox, CC BY-SA 2.0, Wikimedia Commons.
zsh
# Install via Homebrew (or: curl -fsSL https://xcloom.dev/install.sh | sh, installs to ~/.local/bin)
brew install xcloom/tap/xcloom

# Read-only environment and simulator check (zero changes to your project)
xcloom doctor
xcloom sim status

# Wire MCP and Agent Skills into your coding agents (repo-local by default; add --global for user-wide; zero Node)
xcloom mcp install --claude --codex --cursor
xcloom skill install --claude --codex --cursor

Or paste one sentence into Claude Code, Codex, or Cursor so the agent installs the CLI, registers MCP and the agent skill, runs a first local build, and optionally installs git merge drivers or benchmarks your repo:

Open agent-setup.md
Read https://xcloom.dev/agent-setup.md and set up XCLoom for this repository: install the CLI, register the MCP server and agent skill, verify the environment with xcloom doctor, and run a first local build with xcloom build --local --json. Optionally install the git merge drivers and run xcloom bench --repo . --json (isolated cold xcodebuild comparison; can take several minutes on large repositories).

Requires macOS with local Xcode SDKs and compilers. Runs directly on existing .xcodeproj, .xcworkspace, CocoaPods, and XcodeGen projects without format migration; standalone Package.swift apps and unsupported build rules fall back automatically to xcodebuild.

Where time went in Claude Code iOS sessions

When a coding agent edits Swift in a large iOS codebase, model latency is only a fraction of the clock. This 69% to 71% split is the pre-XCLoom baseline audited across two real Claude Code sessions (317.4 min combined) on the author's own production iOS and watchOS app (77.7 MB .ipa, 7 nested bundles) rather than an industry average. It reflects both Xcode build latency and the legacy simulator/UI automation scripts used before XCLoom (reinstalling the 140.5 MB .app and polling selectors). No post-XCLoom full-session replay has been recorded yet; individual build, simulator, and upload timings are measured separately below.

Swapping to a faster model leaves local build and simulator overhead untouched. Shortening the wall-clock loop requires fixing build planning, simulator memory pressure, reinstall overhead, and background signing stalls directly at the local execution layer.

SessionTotal DurationLLM ThinkingLocal Tool WaitRecorded Breakdown
Production Session A (iOS + watchOS app)
208.2 min
61.1 min (29%)
147.1 min (71%)
84.1 min UI driver, 45.5 min combined build+drive commands, 9.4 min build scripts, 8.1 min other local tools
Production Session B (iOS + watchOS app)
109.2 min
34.1 min (31%)
75.1 min (69%)
41.6 min UI driver, 26.5 min combined build+drive commands, 3.7 min build scripts, 3.3 min other local tools
Separate UI Regression Log
25 min
n/a
25 min
19 simulator UI verification runs
Warp threads fanning down from a Jacquard loom, with its chain of punched cards hanging beside them

Shared-cache direct builds across worktrees

Métier à tisser Jacquard 01, 2022. Bastenbas, CC BY-SA 4.0, Wikimedia Commons. Trimmed to 10s with the sound removed; this clip is shared under CC BY-SA 4.0.

Every fresh git worktree forces xcodebuild to re-plan the workspace and rebuild into an isolated DerivedData tree. On local macOS Debug builds, XCLoom parses existing .xcodeproj, .xcworkspace, CocoaPods, and XcodeGen graphs directly, invokes your local Apple compilers without xcodebuild planning, and reuses artifacts through a path-normalized local content-addressed cache (CAS) shared across worktrees (plus optional bring-your-own S3, Cloudflare R2, or shared-directory --remote-cas with no hosted account). Active Debug SwiftUI edits emit a warm .dylib hot patch and redraw unmodified SwiftUI views while preserving @State (xcloom hot --reload, Claude Code PostToolUse xcloom hot --hook, and xcloom_hot MCP tool) instead of relinking the full binary, while standalone Package.swift apps or unsupported rules fall back automatically to xcodebuild with engine_fallback_reason (see FAQ below for Release archive and TestFlight engine routing).

  • git worktree A
  • git worktree B
  • git worktree C
  • git worktree D

apple/sample-food-truck · Fresh worktree

Replayed at 10× speed

23.16s

All 6 public OSS repos compile on the direct engine with zero xcodebuild fallback, beating native xcodebuild across all 24 measured cells. On the stable benchmark cells, cold builds run 1.11x–3.07x faster (up to 23.90s -> 7.78s on apple/sample-food-truck via parallel asset compilation and overlapped DAG execution) and fresh worktrees run 3.96x–51.5x faster; NetNewsWire fresh worktree and wikipedia-ios cold omit headline multipliers here because they were excluded from the headline range due to >15% host-load variance, and full 1-line .app relinks on huge monolithic targets still take 14.18s–18.28s unless you use warm .dylib hot patches (0.37s on sample-food-truck). See /benchmarks/ for the complete 24-cell ratios, min–max ranges, host specs, scripts, and load logs.

New Worktree C (2nd worktree wt2)

3.96x–51.5xHeadline range, stable cells · excludes NetNewsWire

  1. sample-food-truckapple3954a769e99f
    23.16s
    0.45s

    11/0 CAS hits / misses

    51.5x
  2. IceCubesAppDimillian98098b9c4b59
    45.97s
    1.00s

    63/0 CAS hits / misses

    46.0x
  3. Swiftfinjellyfin5d48ca973c9e
    58.70s
    3.03s

    78/0 CAS hits / misses

    19.4x
  4. Signal-iOSsignalappa690a26d2cfe
    74.10s
    5.15s

    75/0 CAS hits / misses

    14.4x
  5. NetNewsWireRanchero-Softwarecf07204cce7f
    22.47s
    1.60s

    54/4 CAS hits / misses

    14.0xnative timing varied >15%, left out of the headline range
  6. wikipedia-ioswikimedia11a763dea0c8
    47.36s
    11.95s

    311/0 CAS hits / misses

    3.96x

Unified 6-repo harness

scripts/bench/direct-engine-large-oss.sh --preset all --rounds 3

3c39d3c · 2026-11-24 · 3-round median

apple/sample-food-truck · Fresh git worktree

23.16s
0.45s
Dimillian/IceCubesApp@ 98098b9c4b592026-11-25
$ xcloom build --local --engine auto --scheme IceCubesApp --platform ios-simulator
[OK] local_direct in 5.3s | cache 61/61 (100.0%)

$ xcloom build --local --engine auto --scheme IceCubesApp --platform ios-simulator --json  # key fields
{
  "engine": "direct",
  "engine_fallback_reason": null,
  "scheme": "IceCubesApp",
  "platform": "ios-simulator",
  "status": "succeeded",
  "cas_hits": 61,
  "cas_misses": 0,
  "total_seconds": 0.090685917,
  "phase_timings_ms": {
    "assets_ms": 0,
    "bundle_sign_ms": 0,
    "cli_init_ms": 2.41,
    "compile_ms": 0,
    "dsym_ms": 0,
    "link_ms": 0,
    "plan_ms": 25,
    "process_total_ms": 94.93,
    "spm_ms": 0,
    "tokio_init_ms": 0.48
  }
}

Mac15,14 (Apple M3 Ultra, 32 cores, 512 GB RAM, macOS 26.6.2 25G83) · Xcode 27.2 Build version 27B52 · xcloom 6cbf81a

Single runs, not the benchmark: the first line is one fresh-worktree build (5.3s, xcloom 6cbf81a, Xcode 27.2); the JSON is a no-change rebuild right after it. The table's 1.00s is the 3-round median from the benchmark script (xcloom 3c39d3c). Single runs vary.

wikimedia/wikipedia-ios@ 11a763dea0c82026-11-26
$ xcloom build --local --engine auto --scheme Wikipedia --platform ios-simulator
[OK] local_direct in 2.2s | cache 308/308 (100.0%)
  app: <xcloom-cache>/derived-data/wt2-9ab98bcb/direct-build/Products/Debug-iphonesimulator/Wikipedia.app

$ xcloom build --local --engine auto --scheme Wikipedia --platform ios-simulator --json  # key fields
{
  "engine": "direct",
  "engine_fallback_reason": null,
  "scheme": "Wikipedia",
  "platform": "ios-simulator",
  "status": "succeeded",
  "cas_hits": 308,
  "cas_misses": 0,
  "total_seconds": 2.677764917,
  "phase_timings_ms": {
    "assets_ms": 427,
    "bundle_sign_ms": 384,
    "cli_init_ms": 5.4,
    "compile_ms": 612,
    "dsym_ms": 0,
    "link_ms": 155,
    "plan_ms": 106,
    "process_total_ms": 2684.26,
    "spm_ms": 340,
    "tokio_init_ms": 1.94
  }
}

Mac15,14 (Apple M3 Ultra, 32 cores, 512 GB RAM, macOS 26.6.2 25G83) · Xcode 27.2 Build version 27B52 · xcloom 6fec250

The local cache folder at the start of the app path is shown as <xcloom-cache>. No timings or counts were changed.

A single run on 2026-11-26 (xcloom 6fec250) on a fresh worktree, after another worktree had filled the shared cache. It shows the direct engine builds this app with no fallback. The table's timings are 3-round medians from the benchmark script (xcloom 3c39d3c).

ProjectScenarioxcodebuild BaselineXCLoom DirectStatus
apple/sample-food-truck
Cold build / Fresh worktree
23.90s / 23.16s
7.78s (3.07x) / 0.45s (51.5x, 11/0 CAS)
direct (1-line edit 1.51s vs 5.43s; warm .dylib hot patch 0.37s)
Dimillian/IceCubesApp
Cold build / Fresh worktree
45.68s / 45.97s
26.85s (1.70x) / 1.00s (46.0x, 63/0 CAS)
direct (1-line edit 3.30s vs 12.94s)
Ranchero-Software/NetNewsWire
Cold build / Fresh worktree
23.22s / 22.47s
14.27s (1.63x) / 1.60s (54/4 CAS)
direct (1-line edit 3.49s vs 14.29s)
jellyfin/Swiftfin
Cold build / Fresh worktree
70.55s / 58.70s
56.65s (1.25x) / 3.03s (19.4x, 78/0 CAS)
direct (1-line edit 18.28s vs 32.83s)
signalapp/Signal-iOS
Cold build / Fresh worktree
76.70s / 74.10s
69.02s (1.11x) / 5.15s (14.4x, 75/0 CAS)
direct (1-line full relink 14.18s vs 31.16s; separate Xcode 27.2 .dylib hot patch 1.93s vs 27.37s [14.2x], ~7.3x faster than direct full relink)
wikimedia/wikipedia-ios
Cold build / Fresh worktree
62.34s / 47.36s
48.37s / 11.95s (3.96x, 311/0 CAS)
direct (1-line edit 16.00s vs 23.96s)
ScenarioXCLoom DirectNotes
Simulator 1-file Swift edit
2.41s
Modular graph reused 118/120 cached targets (118/2 CAS)
Fresh git worktree build
1.32s
124/0 shared CAS hits across worktrees
Warm .dylib hot patch
0.36s
63 KB incremental .dylib (like-for-like public OSS runs: Signal-iOS 27.37s -> 1.93s [14.2x], sample-food-truck 3.81s -> 0.37s [10.3x])
Release archive 1-file edit
20.3s
Unsigned --adhoc-inspect direct archive (23.1s with .ipa; signed archive pending physical-iPhone run)
Cold release archive
124.0s
Unsigned --adhoc-inspect direct archive (126.7s with .ipa; signed archive pending physical-iPhone run)

Built-in slim simulator pool sized by RAM

Start with xcloom doctor and xcloom sim status. Both are strictly read-only, touch zero project files, and report your toolchain health, booted simulators, live process counts, and physical memory footprint before you change any build command.

When several agents run in parallel on one Mac, stock iOS simulators exhaust unified memory and stall each other in simultaneous boot storms. XCLoom includes a native two-tier slim simulator pool with no external simslim dependency:

Safe Default slimming (xcloom sim boot)
Merges 147 categorized entries into disabled.plist before boot while keeping widgets, store, photos, and 24 core daemons (com.apple.assistantd, com.apple.gamed, com.apple.coredevice.dtuhidd) always protected (--stock restores exact original bytes). Cuts physical memory by -20.3% (1.88 GiB -> 1.50 GiB).
App-Aware --for <App.app | .> slimming
Auto-enabled in run --smoke, matrix, and test. Inspects entitlements, Info.plist, extensions, and linked dylibs (from a built .app or project directory .) in 2–15 ms to trim unused widgets, store, and photos too (up to 160 entries), cutting memory by -57.3% (1.70 GiB -> 0.72 GiB).
Hardware-adaptive slot caps
Scales concurrent slots across 7 RAM tiers, from 2 slim slots on 16 GB to 12 slim slots on 128 GB+ Mac Studio (1 stock simulator counts as 3 slim units).
Boot-storm queue gate
Caps concurrent cold boots at 2 slim or 1 stock at a time so parallel agents queue cleanly instead of thrashing CoreSimulator.
PID-scoped auto-reaping
Pool leases (xcloom sim lease, used automatically by run, matrix, and test) track the owning agent PID + TTL and auto-reap XCLoom-started simulators if an agent exits or crashes. Manual xcloom sim boot instances stay up until you run xcloom sim shutdown; Xcode's own simulators stay untouched unless explicitly adopted with --adopt.
Physical memory accounting
Reads macOS ri_phys_footprint (Activity Monitor's real physical footprint via proc_pid_rusage) rather than double-counted RSS.

xcloom sim status

Interactive model. No live data.

2 slots

  • Claude Code
    slot 1
  • Codex
    slot 2
queueCursor
Xcodeuntouched
ri_phys_footprint · Safe Default
1.88 GiB → 1.50 GiB (-20.3%)
ri_phys_footprint · App-Aware
1.70 GiB → 0.72 GiB (-57.3%)

iPhone Air · iOS 27.3 · 2-round median

Physical memory footprint

1.88 GiB1.50 GiB-20.3%

Live simulator (launchd_sim) processes

213140-34.3%

Disabled daemon entries

0147

19 daemon categories · 24 always-protected daemons

Cold boot wall time

2.37s2.94s+0.57s

Cost of slimming · +0.57s

Metric (per booted simulator)Paired Stock BaselineSafe Default (xcloom sim boot)App-Aware (--for <App.app | .>)
Physical memory footprint
1.88 GiB (Safe pair) / 1.70 GiB (App pair)
1.50 GiB (-20.3% vs 1.88)
0.72 GiB (-57.3% vs 1.70)
Live simulator (launchd_sim) processes
213 (Safe pair) / 190 (App pair)
140 (-34.3%)
85 (-55.3%)
Disabled daemon entries
0
147 (keeps widgets, store, photos)
Up to 160 (2–15 ms static analysis)
Cold boot wall time
2.37s (Safe pair) / 2.49s (App pair)
2.94s (+0.57s)
3.02s (+0.53s)

Local signing, preflight, and TestFlight

xcloom upload-asc
25.1s
xcloom upload-asc
77.7 MB .ipa · altool took 67–118s
xcloom sign
0.43s
xcloom sign
No Keychain dialog · 85 MB, 27 bundles
xcloom preflight
1.87s
xcloom preflight
31 checks · 77.7 MB App Store .ipa · 0.39s on 85 MB

On the 77.7 MB production app, a 5-build TestFlight baseline took 8.8–11.1 min end-to-end: 4.0–7.1 min locally (128–284s archive, 40–49s export, 67–118s altool upload), followed by 3–5 min of Apple server processing.

XCLoom compresses the measured local release steps ahead of Apple's server queue (25.1s chunked upload-asc, 0.43s Keychain-free self-signed Mach-O CMS fixture signing, and 1.87s offline preflight across 31 checks) and also provides an optional side-by-side .dev QR preview path for daily device checks (physical-iPhone install time and full signed TestFlight pipeline time remain pending measurement).

Keychain-Free Signing & Offline Preflight

Unattended agents routinely hang on macOS Keychain password modals. After a one-time interactive xcloom sign import-keychain --team-id <TEAM_ID> (Development identities by default; pass --include-distribution only on dedicated release hosts), XCLoom stores an encrypted kc_<fp>.p12 with a 0600 .p12.password file inside a 0700 Time-Machine-excluded directory. That protects against stray plaintext .key.pem files, Time Machine key leaks, other macOS accounts, and headless Keychain exports without a TTY; it does not isolate against other unsandboxed processes running as the same macOS user (since the sibling password file enables unattended signing). Local Mach-O CMS (code signature) signing then runs with zero prompts (0.43s self-signed CMS 9-run median on an 85 MB / 27-bundle fixture, verified by /usr/bin/codesign --verify --deep --strict; Apple Distribution + TSA not yet measured on device).

Before bytes leave your Mac, xcloom preflight runs 31 offline checks (22 App Store ITMS-* rules covering provisioning ITMS-90174, entitlements ITMS-90046, nested signatures ITMS-90035, versioning ITMS-90059/ITMS-90208, and Privacy Manifest ITMS-91053/ITMS-91056 + XCLOOM-PRIVACY-SDK-ONLY, plus 9 XCLOOM-252-* checks verifying zero XCLoom dev-time hot-reload markers leaked into a release .ipa; not a general App Review guarantee). It completes in 1.87s on the 77.7 MB production App Store .ipa (2294.4 ms on the Swiftfin simulator build capture below: 19 passed, 11 errors, 1 warning; see /benchmarks/ for additional fixture sizes).

Swiftfin · xcloom preflight
jellyfin/Swiftfin@ 5d48ca973c9e2026-11-25
$ xcloom preflight ./Swiftfin.app --method app-store
xcloom preflight [FAIL]: ./Swiftfin.app (org.jellyfin.swiftfin v1.0 #1, method=app-store) — 19 checks passed in 2294.4 ms
  [ERROR] ITMS-90208: executable 'Swiftfin' slice 'arm64' LC_BUILD_VERSION targets simulator platform 'ios-simulator'
  [ERROR] ITMS-90035: ad-hoc signature (no signing certificate): devices and App Store Connect accept only code signed with an Apple Development or Apple Distribution certificate; `xcloom archive --adhoc-inspect` output is for inspection only
  [ERROR] ITMS-90174: no embedded.mobileprovision: device builds must embed a provisioning profile that covers the bundle ID (`xcloom archive` with signing, or `xcloom provision`)

Mac15,14 (Apple M3 Ultra, 32 cores, 512 GB RAM, macOS 26.6.2 25G83) · Xcode 27.2 Build version 27B52 · xcloom 6cbf81a

31 checks: 19 passed, 11 errors, 1 warning. The simulator build is used on purpose to show what preflight stops.

Formal TestFlight release

When cutting a formal TestFlight build, Apple's 3–5 min server processing still runs on Apple's side while XCLoom cuts local upload, signing, and preflight latency:

Archive
Apple Distribution sign
preflight
upload
Apple · 3–5 minremains

Apple 3–5 min processing remains

Concurrent chunked upload
xcloom upload-asc uploaded the 77.7 MB production .ipa in 25.1s (15 chunks over a 16-stream HTTP/2 pool) vs 67–118s with altool.
Signing & offline preflight
0.43s Keychain-free self-signed Mach-O CMS fixture (85 MB / 27 bundles; Apple Distribution + TSA timestamp not yet measured on device) and 1.87s offline preflight (31 checks on the 77.7 MB App Store .ipa).
Signed TestFlight local pipeline (archive, Apple Distribution sign, preflight, upload)
not yet measured (baseline: 4.0–7.1 min).

Side-by-Side Delivery Summary

WorkflowWhat RunsBaseline (77.7 MB App)XCLoom
Formal TestFlight upload
xcloom upload-asc (15 chunks over a 16-stream HTTP/2 pool)
67–118s (altool)
25.1s (measured)
Mach-O CMS signing
Keychain-free after one-time import-keychain --team-id <TEAM_ID>
Keychain modal stalls
0.43s self-signed CMS fixture (85 MB / 27 bundles, codesign --verify passed; Apple Distribution + TSA pending)
Offline App Store preflight
31 offline checks (22 ITMS-* incl. Privacy Manifest ITMS-91053/ITMS-91056 + 9 XCLOOM-252-* hot-reload leak checks)
Rejected after upload
1.87s (77.7 MB production App Store .ipa; Swiftfin capture: 19 pass, 11 err, 1 warn)
Signed TestFlight local pipeline
Archive + Apple Distribution sign + preflight + upload (Apple 3–5 min processing remains)
4.0–7.1 min
not yet measured
Dev iPhone iteration (secondary)
Side-by-side .dev QR over resumable HTTPS 206 OTA (skips Apple queue)
8.8–11.1 min via TestFlight
not yet measured on a device (UI hot reload: not yet measured on a device)

Verify four UI states in one RunLoop turn

Checking layout regressions across light/dark appearance, compact SE screens, and accessibility Dynamic Type normally forces an agent to reboot or reconfigure simulators repeatedly, turning 19 routine UI runs into 25 min of waiting.

Run standalone xcloom matrix --repo . --json (zero-config from source) or xcloom matrix --app <APP_PATH> --out <DIR> --json (prebuilt .app, with optional --device-type, multi-device --devices "iphone-se,iphone-pro,ipad", repeatable --tap, --open-url, and --open). It leases an App-Aware slim simulator, captures a 2x2 PNG, and shuts down on exit (end-to-end cold wall time includes simulator boot and app launch and is not benchmarked as 1.44s). The 1.44s timing measures the single-RunLoop sweep itself via xcloom canvas matrix-act on an already-booted slim iPhone 17 running apple/sample-food-truck (1441.4 ms CLI 3-round median, range 1433.7–1458.2 ms; matrix-act defaults to Light, Compact, Dark + AX-XXXL, RTL; pinned SHA and host details on /benchmarks/). Default standalone xcloom matrix states (pass --states to include RTL):

xcloom canvas matrix-act: Light mode (402×874pt standard layout) · Dark mode (402×874pt standard layout) · 375×667pt Compact iPhone SE layout · Dark mode with AX-XXXL accessibility text size
xcloom matrix · Unretouched capture · 840x1852 PNG · apple/sample-food-truck @ 3954a769e99f · Picture: one xcloom matrix run · 14 findings · Xcode 27.2 · 2026-11-25 · Open original PNG

1.44s

xcloom canvas matrix-act · separate timed run: Light · Compact · Dark + AX-XXXL · RTL · apple/sample-food-truck · iPhone 17, pre-booted slim · 1441.4 ms median

3 rounds · 1433.7–1458.2 ms

  • 11441.4 ms
  • 21433.7 ms
  • 31458.2 ms

1468.6 ms in-process probe median

Red and orange boxes automatically highlight real layout bugs so an agent can spot the failure from one composite image and patch the view on the next turn. In standalone xcloom matrix runs on real apps, apple/sample-food-truck flags 14 VIEWPORT_OVERFLOW findings in Dark + AX-XXXL where a 494pt SwiftUI HostingScrollView overflows the 402pt viewport, and wikimedia/wikipedia-ios flags 35 findings across the four states including TEXT_TRUNCATION and CONTROL_OVERLAPS_TEXT collisions.

App Store Review Audit Skill

Installing the xcloom-appstore-review Agent Skill via xcloom skill install --claude --codex --cursor (repo-local by default; add --global for user-wide install, or use npx skills add xcloom/xcloom) gives Claude Code, Codex, and Cursor a repeatable pre-submission checklist: run offline xcloom preflight, inspect the 2x2 red-box UI audit for Dynamic Type and layout clipping, and fix issues before uploading to App Store Connect.

Works under your MCP bridges and agents

Apple ships xcrun mcpbridge and Sentry maintains MobileBuildMCP to expose Xcode actions to coding agents over MCP, while delegating the underlying work back to xcodebuild and stock simulators. XCLoom operates at the local execution layer underneath your agent and MCP setup: direct builds with shared CAS across git worktrees, dual-tier slim simulator pooling, Keychain-free signing, offline preflight, single-RunLoop 2x2 UI checks, resident HID simulator automation (xcloom sim daemon, xcloom sim snapshot, xcloom e2e, xcloom ux), PR visual/size regression cards (xcloom diff-ui), developer disk pruning (xcloom disk), offline error diagnosis (xcloom explain), denoised logs/traces/crash symbolication, and semantic .pbxproj/.xcstrings merging. Adopt any command incrementally alongside your current agent stack.

Claude CodeCodexCursor
xcrun mcpbridgeMobileBuildMCPMCP

xcloom

  • direct builds with shared CAS across git worktrees
  • dual-tier slim simulator pooling
  • Keychain-free signing
  • offline preflight
  • single-RunLoop 2x2 UI checks
  • resident HID simulator automation (xcloom sim daemon, xcloom sim snapshot, xcloom e2e, xcloom ux)
  • PR visual/size regression cards (xcloom diff-ui)
  • developer disk pruning (xcloom disk)
  • offline error diagnosis (xcloom explain)
  • denoised logs/traces/crash symbolication
  • semantic .pbxproj/.xcstrings merging
AppleswiftcclangxcodebuildCoreSimulator

XCLoom Tool Comparisons →

FAQ

Under --engine auto, local Debug build, run, hot, and test default to the direct engine on eligible .xcodeproj, .xcworkspace, CocoaPods, and XcodeGen (project.yml) apps, covering SwiftPM dependencies, Swift, C/C++/ObjC, .xcassets, Storyboards/XIBs, Metal, CoreData, Swift Macros, and per-target hybrid delegation. Release xcloom archive --local defaults to xcodebuild under --engine auto and supports explicit --engine direct, while xcloom testflight builds via xcodebuild (or pair xcloom archive --local --engine direct with xcloom preflight and xcloom upload-asc).

Standalone Package.swift apps, unsupported build phases, custom rules, or new Xcode flags fall back automatically to xcodebuild and print engine_fallback_reason in stdout and logs so builds finish without reconfiguration. Full 6-repo benchmark scripts, pinned SHAs, min–max ranges, and host load logs are published on /benchmarks/.

Run xcloom sign import-keychain --team-id <TEAM_ID> once from an interactive TTY (headless agent export is blocked); Development identities are exported by default and Apple Distribution signing requires explicit --include-distribution. XCLoom stores an encrypted kc_<fp>.p12, a 0600 .p12.password file, and kc_<fp>.cer inside a 0700 team-scoped directory excluded from Time Machine backups, never uploads signing material, and zeroizes secret buffers in memory on drop.

What this protects against: stray plaintext .key.pem files on disk, Time Machine backups leaking keys, other macOS user accounts (0700/0600 permissions), and background agents exporting Keychain items without a TTY. What it does not protect against: another unsandboxed process running as the same macOS user (since the sibling .p12.password enables unattended signing). Keep coding-agent machines on Development identities and isolate Distribution signing on a dedicated user or release host. The published 0.43s timing is self-signed CMS verified via /usr/bin/codesign --verify --deep --strict; full Apple Distribution signing with RFC 3161 TSA timestamps and TestFlight verification is not yet measured on a device.

No. iOS and macOS compilation, simulators, and device flows require macOS with locally installed Xcode SDKs and compilers; XCLoom never bundles, redistributes, or proxies Apple SDKs, headers, simulators, or compilers, and executes local builds under your existing Xcode license. Prebuilt Linux x86_64 and aarch64 binaries cover Xcode-independent offline tooling (preflight, xray, car, sign, symbolicate, crash, merge, verify, repro, explain, and doctor) plus networked commands (upload-asc and cas serve).

The core local CLI is Fair Source (FSL-1.1-ALv2): free for personal, internal, and commercial app development and CI, and each version converts automatically to Apache-2.0 two years after release. During that two-year window, it restricts only Competing Uses: offering XCLoom or a derivative as a commercial product or hosted service that substitutes for XCLoom (such as a hosted build, cache, or simulator QA cloud). Agent Skills (skills/) and plugin manifests are Apache-2.0 (see docs/licensing.md).

Everything runs locally on your Mac with optional BYO-bucket --remote-cas (s3://, r2://, file://, or self-hosted xcloom cas serve): no account is required, local builds keep source code on your Mac (optional XCLoom Cloud Free Beta uploads changed source deltas only when you explicitly run --remote or the GitHub Action for ephemeral single-job --once Tart VM compilation, alongside compiled R2 S3-FIFO Direct-CAS blobs, UI screenshots, E2EE .dev preview bundles, and build timing metadata; signing keys never leave your Mac or runner), anonymous command telemetry is opt-out (off in CI=true and skipped on the first-run notice; disable anytime via DO_NOT_TRACK=1, XCLOOM_NO_TELEMETRY=1, or xcloom telemetry off; details in Privacy & Telemetry), and there are no seat or agent limits (the local simulator pool throttles simultaneous cold boots only to protect Mac RAM and CoreSimulator, and can be overridden via CLI flags). For hosted Apple Silicon CI (100 free Mac min/mo in Batch #1 via ubuntu-latest + keyless OIDC + xcloom[bot]), managed shared caching, persistent .dev preview links, PR visual audits, FSL commercial hosting rights, or enterprise support, see XCLoom Pricing or contact maintainers@xcloom.dev.