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:
    inputs:
    • cache_paths: |-
      $BITRISE_CACHE_DIR
      ./Pods -> ./Podfile.lock
      ./Carthage -> ./Cartfile.resolved

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.