iOS app Build failed if Cache is define in the job
Hello, We have a strange issue. Our build for our iOS app is working correctly and the ipa file can be upload to TestFlight without issue. But, if we add a cache to the build job: cache: key: ${CI_COMMIT_REF_SLUG}_build_data paths: - build_data The build start failing with a code signing issue: Warning: unable to build chain to self-signed root for signer "iPhone Distribution********" We don't even use the cache in question yet, because it is never created. section_start:1657701090:restore_cache Restoring cache Checking cache for 148-create-ci-pipeline_build_data-non_protected... Runtime platform arch=amd64 os=darwin pid=452 revision=febb2a09 version=15.0.0 WARNING: file does not exist Failed to extract cache section_end:1657701098:restore_cache` If we remove the cache from the job definition, the build start working again. Any idea why just adding a cache to a job can cause a build to fail like this ? (we are using the image macos-12-xcode-13) ps: if the cache has its policy set to push only, the build is also working.
issue