Native compilation cache
Use the cache Xcode already reads and writes.
Share Xcode’s native compilation cache across compatible macOS builds. Reuse requires compatible Xcode versions and matching physical source and DerivedData paths.
.boringcache.toml
workspace = "my-org/app" [adapters.xcode] tag = "xcode-cache" command = ["xcodebuild", "-workspace", "App.xcworkspace", "-scheme", "App", "build"]
boringcache xcode
permissions: contents: read id-token: write steps: - uses: boringcache/one@f0fb9b2d926a32b10c543e92093ba00c5a291b79 # v1.33.0 with: mode: xcode trust-policy: auto - run: xcodebuild -workspace App.xcworkspace -scheme App -derivedDataPath "$BORINGCACHE_XCODE_DERIVED_DATA_PATH" build
steps: - label: Build command: > boringcache ci run --oidc-provider buildkite -- boringcache xcode
build: timeout: 1h id_tokens: BORINGCACHE_OIDC_TOKEN: aud: urn:boringcache:workload script: - boringcache ci run --oidc-provider gitlab -- boringcache xcode
Use the cache Xcode already reads and writes.
Restore reusable compiled work before the build.
Keep physical source and DerivedData paths aligned.
A shared workspace alone is not enough for Xcode. Match the required paths across machines, or use a consistent staging path, so compiled results have compatible identities.
Track compilation-cache reads, transfers, and stored data in your workspace.
Explore the workspace →Inspect reads, misses, and writes.
See what each build downloads and uploads.
Track stored cache data in your workspace.
Give consumers restore access and publishers a separate permission. Connect supported CI through OIDC or use scoped credentials.
Connect your CI →Separate readers and publishers
Install the CLI. Run onboarding to connect your repository and configure your cache.
30 GB of cache free. No credit card required.
curl -sSL https://install.boringcache.com/install.sh | sh
boringcache onboard
boringcache xcode
We use cookies to understand how people use BoringCache. Learn more