I’m having intermittent failures with code signing when I use this image. (I require
xcode 12.4.0 as in the snippet above)
I’m using certificates that were generated on Feb. 5, signed with the WWDR cert that expires in 2030, and I install my certificates & provisioning profiles using fastlane match. My build will intermittently fail with this error in my build logs:
[16:28:17]: ▸ Warning: unable to build chain to self-signed root for signer "<certificate name>"
[16:28:17]: ▸ /Users/distiller/Library/Developer/Xcode/DerivedData/<path to my target>: errSecInternalComponent
[16:28:17]: ▸ Command CodeSign failed with a nonzero exit code
I can usually restart my CircleCI build after a failure & will pass the second time; my build script always works when I run it from desktop. Since the intermediate & root certificates needed for code signing are always pre-loaded in Circle’s build VM and that seems to be the issue, it makes me wonder if something’s up on CircleCI’s end.