Pods cache not working

#1

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

0 Likes

#2

Hi @aryunaabhay,

Sorry for the delay!

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

0 Likes

#3

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.

0 Likes