Caching strategy for Cocoapods and Carthage


We are considering substituting Bitrise Cartage and Cocoapods steps with running carthage bootstrap and pod install directly. The motivation here is to achieve parity between scripts run locally and in CI.

Within the steplibs there is some logic related to cache management. Is there any downside of not using Bitrise’s steps and specifying cache paths directly?

For instance, we are considering having the following configuration for Cache:Push:

  • cache-push@2.2.0:
    • cache_paths: |-
      ./Pods -> ./Podfile.lock
      ./Carthage -> ./Cartfile.resolved