Pods cache not working

Cocoapods caching is not working.

Description of the issue

workflow is set as the documentation expects but the caching on bitrise is not happening it always ends up downloading the pods on every single build, I tested the workflow locally with the same bitrise.yml and the same branch of the project and it works.

Environment:

Bitrise io

Which build Step causes the issue and which version of the step?

  • cocoapods-install@1.5.3:
    inputs:
    - is_update_cocoapods: ā€˜falseā€™
    - is_cache_disabled: ā€˜falseā€™

Reproducibility

  • _Does a ā€œRebuildā€ help? : NO
  • Does the issue happen sporadically, or every time? : Every time

Local reproduction

cannot be reproduced locally, locally is the only place where itĀ“s working.

Build log

build log

Hi @aryunaabhay,

Sorry for the delay!

Could you also include a build where you pushed these caches to the same branch? :thinking:

I have the same issue, I have a setup workflow where the cache is pushed after installing pods. I then have a spec workflow where the cache is pulled and the Xcode specs are ran. It only works if I add another pod install step before the specs are ran.

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