Low commit activity in last 3 years
There's a lot of open issues
No release in over a year
Native targets cache for Xcode archive builds.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

~> 1.0
>= 1.10, < 2.0
~> 0.3
>= 2.0, < 3.0
 Project Readme

XcodeArchiveCache

Native targets cache for Xcode archive builds.

Warning

⚠️ Alpha software ⚠️

  • This tool is intended to be used in CI workflows.
  • To reuse cached build products, it changes project files.
  • Remote caching is planned but not implemented yet.
  • Current implementation supports native targets only. Targets should have framework or static library products.

Installation

  • Without Bundler: gem install xcode-archive-cache
  • With Bundler: add gem 'xcode-archive-cache' to Gemfile

Setup

XcodeArchiveCache has a simple DSL similar to Cocoapods DSL. Configuration is stored in a file called Cachefile. Place Cachefile in the project's root directory.

Example configuration:

workspace "Workspace" do
  configuration "release" do
    build_configuration "Release"
    xcodebuild_args "SOME_FLAG='1' -UseModernBuildSystem=NO"
  end

  derived_data_path "build"

  target "Target" do
    cache "Pods_Target.framework"
    cache "libStaticLibrary.a"
  end
end

Example command:

xcode-archive-cache inject --configuration=release --storage="$HOME/build_cache"

Usage

  • Run xcode-archive-cache before building app. This will update the cache and inject cached products into the project.
  • Archive the app as usual (Xcode, xcodebuild, Fastlane)

Please refer to the example project for usage examples.