Repository navigation
Releases
Releases · stefanoshea/xclane
xclane v0.6.0
Install
Homebrew (recommended):
brew install stefanoshea/tap/xclane
xclane plugin install --client allOne-line installer (macOS Apple Silicon):
curl -fsSL https://raw.githubusercontent.com/stefanoshea/xclane/main/scripts/install.sh | sh -s -- --client allxclane v0.5.2
Install
Homebrew (recommended):
brew install stefanoshea/tap/xclane
xclane plugin install --client allOne-line installer (macOS Apple Silicon):
curl -fsSL https://raw.githubusercontent.com/stefanoshea/xclane/main/scripts/install.sh | sh -s -- --client allxclane v0.5.1
Install
Homebrew (recommended):
brew install stefanoshea/tap/xclane
xclane plugin install --client allOne-line installer (macOS Apple Silicon):
curl -fsSL https://raw.githubusercontent.com/stefanoshea/xclane/main/scripts/install.sh | sh -s -- --client allxclane v0.5.0
Install
Homebrew (recommended):
brew install stefanoshea/tap/xclane
xclane plugin install --client allOne-line installer (macOS Apple Silicon):
curl -fsSL https://raw.githubusercontent.com/stefanoshea/xclane/main/scripts/install.sh | sh -s -- --client allxclane v0.4.0
Install
Homebrew (recommended):
brew install stefanoshea/tap/xclane
xclane plugin install --client allOne-line installer (macOS Apple Silicon):
curl -fsSL https://raw.githubusercontent.com/stefanoshea/xclane/main/scripts/install.sh | sh -s -- --client allxclane v0.3.0
What's New in v0.3.0
- Opt-in Cross-Slot CAS Prefix Mapping: Injects
SWIFT_OTHER_PREFIX_MAPPINGSandCLANG_OTHER_PREFIX_MAPPINGS(<slotDir>=/^slot) when enabled via--cacheor"enableCompilationCache": true, achieving 93–100% cross-slot CAS hits (e.g. cold Slot 2 builds in 58.37s vs120.11splain cold onmastodon-ios), while keepingenableCompilationCache: falseby default for maximum single-slot and 1-file edit speed. - Native Git Index Reader & Lazy Manifest Split: Reads
.git/indexdirectly viaGitIndexReaderwithout spawning redundantgitsubprocesses, splits lightweightstate.jsonmetadata frommanifest.json, and offloads blocking git setup off Swift's cooperative pool. - Simulator Pool Pre-booting & Smart Selection: Prefers
Bootedclones first, picksiPhone ... Proconsistently across equal-OS runtimes, skipsxcrun simctlinSimulatorPool.list()when no clones exist, and triggers detached simulator pre-booting during test runs. - Independent Benchmarks: Verified on
mastodon/mastodon-ios(1,351Swift files:120.11splain cold →8.43scross-worktree warm /19.13s1-file edit /58.37scold Slot 2--cache) andWorkApp.
Install
Homebrew (recommended):
brew install stefanoshea/tap/xclane
xclane plugin install --client allOne-line installer (macOS Apple Silicon):
curl -fsSL https://raw.githubusercontent.com/stefanoshea/xclane/main/scripts/install.sh | sh -s -- --client allxclane v0.2.4
Install
Homebrew (recommended):
brew install stefanoshea/tap/xclane
xclane plugin install --client allOne-line installer (macOS Apple Silicon):
curl -fsSL https://raw.githubusercontent.com/stefanoshea/xclane/main/scripts/install.sh | sh -s -- --client allxclane v0.2.3
Install
Homebrew (recommended):
brew install stefanoshea/tap/xclane
xclane plugin install --client allOne-line installer (macOS Apple Silicon):
curl -fsSL https://raw.githubusercontent.com/stefanoshea/xclane/main/scripts/install.sh | sh -s -- --client allxclane v0.2.1
What's New in v0.2.1
- Container-scoped
Package.resolved&bootstrapSecondstiming: Package pin hashing and offline resolution gating now read only the built.xcworkspace/.xcodeproj'sPackage.resolvedinstead of recursively walking the entire repository, andtimings/ compact summaries now reportbootstrapSeconds. - Per-flavor
warningsComplete& flavor switch metadata: Tracks Swift compilation counts per build flavor so switching schemes/configurations/destinations preserves accuratewarningsCompletestate and exposesflavorSwitchedandpreviousFlavorin build summaries. --no-cacheoverride: Passing--no-cachenow injectsCOMPILATION_CACHE_ENABLE_CACHING=NOunless already overridden in user build settings, allowing true uncached comparisons on projects with caching enabled.- Bounded CAS pruning & storage breakdown: Idle housekeeping now runs
xcrun llvm-cas --prune(with a 1.5x hard-cap fallback) when the shared compilation cache exceedscompilationCacheLimitMB, andxclane status --sizesbreaks downcompilationCachePhysicalBytesvspackageCachePhysicalBytes. - Performance docs & CI stability: Added build performance guidance (dual-arch
generic/platform=iOS Simulatorvs single-archarm64, CAS vs SwiftDriver/link costs,--no-cache) and stabilized timing-sensitive CI tests under parallel runner load.
Quick Install (macOS Apple Silicon)
Download xclane-v0.2.1-macos-arm64.tar.gz, verify its checksum with xclane-v0.2.1-macos-arm64.tar.gz.sha256, extract xclane, and install:
tar -xzf xclane-v0.2.1-macos-arm64.tar.gz
install -m 755 xclane ~/.local/bin/xclaneOr build and install from source:
git clone https://github.com/stefanoshea/xclane.git
cd xclane
git checkout v0.2.1
swift build -c release
install -m 755 .build/release/xclane ~/.local/bin/xclane
~/.local/bin/xclane plugin install