Anyone using Cocoapods Gradle plugin and Gradle bu...
# ios
l
Anyone using Cocoapods Gradle plugin and Gradle build cache enabled on CI and having issues whenever a cocoapods dependency is updated? I constantly have to erase `~/.gradle`'s cache folder in order to compile successfully.
s
cc @Konstantin Tskhovrebov
t
tried to use, but unsuccessful due to the same issue
a
Hi @leandro @Tijl, Do you have some more specifics (like error messages, stacktraces, incorrectly cached task names, etc) or ideally a reproducer? I’ve found one issue by looking into sample projects with build cache (https://youtrack.jetbrains.com/issue/KT-60112). But it isn’t really specific to build cache and I obviously could’ve missed something. Also please don’t hesitate to file issues to https://kotl.in/issue when something goes wrong. It’s highly appreciated 🙂
l
Thanks Artem! I thought disabling the build cache helped whenever we updated a Cocoapods dependency, but I was wrong. It may have helped one instance of it, but it still seems like we need to erase the Gradle cache for this flow. I'll keep an eye exactly on what fails and update here once I have up-to-date information 🙏
t
unfortunately did not record the exact error but it was non-obvious and broke the entire build, if I encounter it again I will let you know