Skip to content
xcloom
EN/中文

XCLoom vs fastlane

Direct Verdict

fastlane automates iOS release lanes in Ruby on top of xcodebuild, macOS Keychain signing, and altool. XCLoom replaces the slow local steps underneath those workflows with a direct cross-worktree build engine (including explicit Release archiving via xcloom archive --local --engine direct, paired with xcloom preflight and xcloom upload-asc; xcloom testflight builds via xcodebuild), Keychain-free CMS signing (0.43s self-signed CMS), offline App Store preflight (1.87s on a 77.7 MB .ipa; 31 checks: 22 ITMS-* incl. Privacy Manifest ITMS-91053 and ITMS-91056 + 9 XCLOOM-252-* dev-marker checks), and chunked TestFlight uploads (15 chunks over a 16-stream HTTP/2 pool, 25.1s vs 67–118s altool). Last reviewed 2026-11-26.

Side-by-Side Comparison

CriterionXCLoomfastlane
Execution Layer
Direct build engine (--local --engine auto for Debug, explicit --engine direct for archive --local; --local forces on-Mac execution; xcloom testflight builds via xcodebuild), CMS signer, HTTPS 206 .dev OTA, and chunked ASC uploader
Ruby lane orchestrator wrapping xcodebuild (gym), codesign (match), and altool / ASC API (pilot)
Cross-Worktree Build Cache
Path-normalized local CAS across git worktrees (IceCubesApp 45.97s -> 1.00s, sample-food-truck 23.16s -> 0.45s) plus optional bring-your-own --remote-cas (s3://, r2://, or file://)
None; each worktree or lane triggers a fresh xcodebuild DerivedData build
Built-in Slim Sim Pool
Native dual-tier slim simulator pool with RAM-adaptive 2–12 slot caps and PID/TTL auto-reaping (see /benchmarks/)
None; invokes stock simctl / scan simulators
Zero-Keychain Signing & Preflight
Interactive one-time xcloom sign import-keychain --team-id <TEAM_ID> (Development default; --include-distribution on dedicated release hosts), prompt-free CMS signing (0.43s self-signed CMS fixture, codesign --verify), offline xcloom preflight (1.87s on 77.7 MB .ipa, 31 checks), and 25.1s upload-asc
Uses macOS Keychain (typically via match + temporary CI keychains, requiring create/unlock scripting and prone to prompts if misconfigured); App Store ITMS-* errors surface after upload
Project Format Migration Needed
None; reads .xcodeproj, .xcworkspace, CocoaPods, and XcodeGen (project.yml) apps without Ruby or Bundler
Requires Fastfile, Gemfile, and Ruby toolchain maintenance

Coexistence & Switching Guide

  1. Install XCLoom and import your Development signing identity once from an interactive terminal so headless builds do not block on Keychain modals (only pass --include-distribution on a dedicated release host when cutting TestFlight / App Store builds):
zsh
brew install xcloom/tap/xcloom
xcloom sign import-keychain --team-id <TEAM_ID>
# Dedicated release host only (adds Apple Distribution):
# xcloom sign import-keychain --team-id <TEAM_ID> --include-distribution
  1. Keep existing Fastfile metadata or notification lanes if needed, and insert offline preflight plus fast chunked upload on your built .ipa (xcloom upload-asc reads local ~/.appstoreconnect credentials via ASC_KEY_ID, ASC_ISSUER_ID, and ASC_PRIVATE_KEY_PATH / AuthKey_<ID>.p8):
zsh
xcloom preflight ./build/App.ipa --method app-store
xcloom upload-asc ./build/App.ipa --bundle-id com.example.app --short-version 1.0 --build-number 42
  1. Move daily device verification off TestFlight onto side-by-side .dev QR installs so local edits skip Apple's 3–5 min processing queue:
zsh
xcloom preview --repo . --team-id <TEAM_ID>

Frequently Asked Questions

Yes. Any Ruby lane can invoke xcloom preflight, xcloom upload-asc, or xcloom archive --local --engine direct via sh(...) while you keep metadata or Slack notifications in fastlane.

No. Apple's 3–5 min server-side processing still runs for formal TestFlight builds. XCLoom cuts the local upload (25.1s across 15 chunks over a 16-stream HTTP/2 pool vs 67–118s altool on 77.7 MB) and local build/sign steps, while xcloom preview skips the TestFlight queue during active dev iteration.

xcloom sign import-keychain requires an interactive TTY (blocking headless agent export), exports Development identities by default (--include-distribution is opt-in), and stores an encrypted kc_<fp>.p12, a 0600 sibling .p12.password, and kc_<fp>.cer inside a 0700 team-scoped directory excluded from Time Machine backups, zeroizing secret buffers on drop. Storing kc_<fp>.p12 + 0600 .p12.password avoids stray plaintext .key.pem files on disk, while local confidentiality rests on 0700/0600 macOS user isolation and Time Machine exclusion so headless builds can sign unattended. Every CMS signature is verified via /usr/bin/codesign --verify --deep --strict (0.43s self-signed CMS median on 85 MB / 27 bundles). Keep coding-agent hosts on Development identities only and isolate Apple Distribution signing on a dedicated macOS user or release host.

No. XCLoom installs as a single CLI binary via Homebrew (brew install xcloom/tap/xcloom) with no Ruby runtime dependency.

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.