I’m trying to activate build cache for Xcode step in my bitrise.yaml file, if it’s “off”, my pipeline works without any issues, but if I turn it on, I hit the bellow error.
I tried several solutions from updating fastlane and ruby, but with no avail, need some help regarding this. I’ve found several mentions that it might be related to the -json flag. but it’s vague.
any help is much appreciated. thanks in Advance
Jonathan
Error log (relevant bits)
[Bitrise Analytics] Run stats: {StartTime:2026-01-15 18:58:18.162436 +0000 GMT m=+0.016612793 Success:true Error: ExitCode:0 DurationMS:314 XcodeVersion:26.0.1 XcodeBuildNumber:17A400}
[Bitrise Analytics] Proxy stats: uploaded bytes: 0 B, downloaded bytes: 0 B, hits: 0, misses: 0
[Bitrise Analytics] Short command found: -showsdks
[Bitrise Analytics] Sending invocation data to: https://xcode-analytics.services.bitrise.io/invocations/77f81e37-47e2-45af-a39c-c591849a696f
[Bitrise Analytics] Payload: { [REDACTED] }
[Bitrise Analytics] [DEBUG] PUT https://xcode-analytics.services.bitrise.io/invocations/…
[Bitrise Analytics] [18:58:18] Invocation saved. Visit
https://app.bitrise.io/build-cache/invocations/xcode/…
[18:58:18]: expected ‘,’ or ‘]’ after array value at line 1 column 4
[18:58:18]: xcodebuild CLI broken, please run xcodebuild and make sure it works
