# Cut Xcode waits for iOS agents

> Fair Source (FSL-1.1-ALv2) local execution layer for iOS coding agents on macOS. Cross-worktree direct builds with shared CAS, dual-tier slim simulator pools, Keychain-free signing, `.dev` QR previews, and offline App Store preflight.

Local iOS toolchain for Claude Code, Codex, and Cursor

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.

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`.

```bash
# 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:

```text
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).
```

## 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.

| Session | Total Duration | LLM Thinking | Local Tool Wait | Recorded 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 |

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.

## Shared-cache direct builds across worktrees

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).

### Production iOS + watchOS App (XCLoom Direct Timings, `77.7 MB` `.ipa`, 7 nested bundles)

*(Recorded standalone timings on the author's modular production app, listed without a side-by-side legacy baseline because pre-XCLoom scripts used queue locks or different signing modes; clean like-for-like `xcodebuild` comparisons are in Table 2 below.)*

| Scenario | XCLoom Direct | Notes |
| --- | --- | --- |
| 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) |

### Public Reproducible Open-Source Benchmarks

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.

| Project | Scenario | `xcodebuild` Baseline | XCLoom Direct | Status |
| --- | --- | --- | --- | --- |
| `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`) |

## Built-in slim simulator pool sized by RAM

### Zero-Risk First-Minute Entry

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.

### Measured Footprint Table

| Metric (per booted simulator) | Paired Stock Baseline | Safe 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

### The Real TestFlight Baseline

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).

### Track A: Daily iPhone dev iteration

For quick layout checks on a physical iPhone without waiting on Apple's `3–5 min` TestFlight queue, `xcloom preview` builds a side-by-side `.dev` bundle and serves it over resumable HTTPS 206 OTA with a terminal QR code:

- End-to-end `.dev` QR OTA install: not yet measured on a device
- Subsequent UI `.dylib` hot reload on device: not yet measured on a device

### Track B: 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:

- 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`).

### 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).

### Side-by-Side Delivery Summary

| Workflow | What Runs | Baseline (`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):

1. Light mode (`402×874pt` standard layout)
2. Dark mode (`402×874pt` standard layout)
3. `375×667pt` Compact iPhone SE layout
4. Dark mode with `AX-XXXL` accessibility text size

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.

### Comparisons

#### Card 1: `XCLoom vs MobileBuildMCP` (`/vs/mobilebuildmcp/`)

- Scope: `MobileBuildMCP` gives agents a clean MCP tool surface to invoke `xcodebuild` and `simctl`.
- Where XCLoom fits: XCLoom speeds up and stabilizes the local execution underneath those calls, eliminating `xcodebuild` planning on eligible builds, pooling slim simulators by RAM, signing without Keychain prompts, and capturing 2x2 UI states in one RunLoop. Use XCLoom's own MCP server or run it alongside `xcrun mcpbridge` and `MobileBuildMCP`.

#### Card 2: `XCLoom vs Tuist` (`/vs/tuist/`)

- Scope: Tuist focuses on project generation, modular graph definitions, and hosted remote caching for Xcode projects.
- Where XCLoom fits: XCLoom works on existing `.xcodeproj`, `.xcworkspace`, CocoaPods, and XcodeGen (`project.yml`) projects with zero format migration, adds a local direct build engine with cross-worktree CAS plus optional BYO S3/R2 caching (`--remote-cas`), and bundles the slim simulator pool, `.dev` QR previews, Keychain-free signing, and UI audit tools agents need locally.

#### Card 3: `XCLoom vs simslim` (`/vs/simslim/`)

- Scope: `simslim` is a standalone utility for trimming background services in iOS simulators.
- Where XCLoom fits: XCLoom builds categorized and app-aware simulator slimming directly into its native pool, adding RAM-adaptive concurrency caps, boot-storm queuing, and automatic PID-scoped cleanup tied to your build and UI loop.

### Extended Local Workflow

| Command | What It Does | Verified Scope |
| --- | --- | --- |
| `xcloom sim daemon` | Resident native HID & Accessibility simulator daemon | Low-latency UI actions and tree inspection with zero external `axe` dependency |
| `xcloom sim snapshot` | APFS `clonefile(2)` CoW container save/restore | Fast state reset for seeded UI checks (`--seed logged-in`) |
| `xcloom bsp` / `xcloom lsp` | Build Server Protocol (BSP 2.0) server for SourceKit-LSP | Feeds Direct Engine flags and index store paths to Cursor and VS Code |
| `xcloom init` | Unified repo & agent setup (`--all`, `--claude-hook`, `--github-actions`) | Configures `.xcloom.json`, merge drivers, 4 skills, 7 editors, OIDC CI, and `doctor` |
| `xcloom e2e` | Declarative E2E flows (`run`, `import-maestro`) | Runs repeatable simulator journeys with JSON diagnostics |
| `xcloom ux explore` / `report` | APFS CoW state-tree UX exploration | Interactive sessions, offline HTML trace reports, and repro packs |
| `xcloom diff-ui` / `xcloom xray` | Visual, layout, feel, and PR binary size diff (`--upload`) | Masked pixel diff (`0 / 2,814,528 px`), base-branch size delta & Top-5 regressions in `xcloom[bot]` |
| `xcloom disk` | Developer disk audit and safe pruning | Author's dev Mac audit: `121.7 GB` (`96.3 GB` DerivedData), `78.2 GB` safe reclaimable |
| `xcloom explain` | Offline Xcode & signing error diagnosis (`--fix`) | Maps `0xe800801c`, `ITMS-91053`, module cache & sandbox errors to fixes |

## FAQ

### What if Xcode updates or I use custom build rules?

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/`.

### How does Keychain-free signing work and stay secure?

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.

### Does XCLoom ship Apple SDKs or violate Xcode terms?

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`).

### What is the license? Any agent or concurrency limits?

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](https://github.com/xcloom/xcloom/blob/main/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](/privacy/)), 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](/pricing/) or contact `maintainers@xcloom.dev`.

## Links

- GitHub: https://github.com/xcloom/xcloom
- /llms.txt: https://xcloom.dev/llms.txt
- XCLoom vs MobileBuildMCP: https://xcloom.dev/vs/mobilebuildmcp/
- XCLoom vs Tuist: https://xcloom.dev/vs/tuist/
- XCLoom vs simslim: https://xcloom.dev/vs/simslim/
