Strict Xcode & iOS CI
DerivedData + Drift[self-hosted, macOS, ARM64]

Self-Hosted Xcode & iOS GitHub Actions Runners

Short answer: iOS and Xcode builds suffer most on cold 3-core cloud VMs. Strict preserves warm DerivedData on local NVMe, prunes stale Xcode artifacts safely in Tier 4, checks xcodebuild license status, and alerts on cross-Mac Xcode drift.

Keep Xcode DerivedData and iOS simulators warm on local NVMe while catching Xcode version drift across Macs.

Drop-in workflow YAML & zero-sudo enrollment

Enroll your host with strict add-runner and route jobs directly via GitHub's native runs-on labels:

.github/workflows/ci.yml
jobs:
  ios-test:
    runs-on: [self-hosted, macOS, ARM64]
    steps:
      - uses: actions/checkout@v4
      - run: xcodebuild test -scheme App -destination 'platform=iOS Simulator,name=iPhone 16'
Enroll runner host
curl -fsSL https://strict.ai/install.sh | sh
strict add-runner owner/ios-app --labels self-hosted,macOS,ARM64,xcode

How Strict keeps Xcode & iOS CI runners healthy

SubsystemHow it applies to Xcode & iOS CI
Disk CleanupTier 4 specifically targets stale Xcode DerivedData above targetGiB, while opt-in Tier 6 (deep-macos) clears bulky iOS DeviceSupport and APFS local snapshots when operators explicitly enable it.
Preflight Doctorxcode-license runs xcodebuild -checkFirstLaunchStatus to catch post-update EULA blocks; apfs-unallocated inspects diskutil apfs list; macos-sleep catches idle sleep settings.
Tracked Toolchainsxcode, swift, ruby (fastlane/cocoapods), node, runner
Cache & BalancingWarm local NVMe avoids re-downloading 10+ GB SwiftPM and CocoaPods archives on every run, and computeToolchainDrift alerts via email or webhook if one Mac upgrades Xcode ahead of its pool.

When Strict fits vs. when hosted runners win

Use Strict for Xcode & iOS CI when

  • Warm local DerivedData and pre-booted iOS Simulators on M4 NVMe SSDs
  • Automatic Xcode & Swift toolchain drift detection across all macOS hosts
  • 10–13 day payback vs $0.062–$0.102/min hosted macOS minutes

Use cloud-hosted runners when

  • Teams needing ephemeral clean-room VMs for untrusted third-party contributors
  • One-off release builds that stay within GitHub's free monthly minute pool

Frequently asked questions

Will Strict delete active DerivedData during an Xcode build?

No. Maintenance runs inside maintenance.lock, skips active Runner.Worker workspaces, and stops reclaiming as soon as free disk reaches targetGiB so warm caches stay intact.

How does Strict detect Xcode mismatches across multiple Macs?

Every 30-second agent heartbeat reports 12 toolchain versions including xcode and swift, and computeToolchainDrift surfaces cross-Mac mismatches as fleet warnings.

Does Strict prevent post-update Xcode license prompts?

strict doctor runs xcodebuild -checkFirstLaunchStatus via the xcode-license check so broken first-launch states are surfaced immediately instead of failing jobs silently.

Try Strict on one spare Mac in under two minutes

Signed Apple Silicon app or single-line CLI · Zero accounts required