Spotify

Spotify Introduces XCRemoteCache: The iOS Remote Caching Tool that Cut Our Clean Build Times by 70%

Original post Introducing XCRemoteCache: The iOS Remote Caching Tool that Cut Our Clean Build Times by 70%

Article Summary

Spotify just open-sourced the tool that slashed their iOS build times by 70%. If your developers are waiting 10+ minutes for builds after rebasing, this could be a game-changer.

Spotify's infrastructure team built XCRemoteCache to solve a painful problem: developers were spending over 50% of their build time on clean builds that took 10+ minutes. The solution reuses CI-generated artifacts locally, applying target-level caching across their 400+ module iOS app.

Key Takeaways

Critical Insight

XCRemoteCache cuts iOS clean build times by 70% by reusing CI artifacts locally, and it's now open source with minimal integration effort.

Continue reading

The fingerprinting approach they use to identify input files automatically is surprisingly clever and solves a problem most remote caching tools struggle with.

This page summarizes “Introducing XCRemoteCache: The iOS Remote Caching Tool that Cut Our Clean Build Times by 70%” by Spotify, published Nov 16, 2021. All credit for the original work goes to the authors.

Read the original on engineering.atspotify.com (opens in new tab)

AI tools for iOS

Browse all AI tools →