I’m updating my old project and tried to run the deploymet task, which used to work a few months ago. However, the apple store, required me to update xcode from 13.2.1 to 14.3.1, which I did. This resulted the default resource class (“medium”) to give an error:
“Job was rejected because resource class medium, image xcode:14.3.1 is not a valid resource class”
So I updated to the new medium by adding the following line in relevant build tasks:
Now the build fails when updating git submodules with the error:
fatal: Could not read from remote repository.
The configuration file has task step setting the submodule ssh key (add_ssh_keys), and submodule cloning used to work fine in old resource class. It’s like the new resource class instance does not get the additional sshkeys from the project settings → “Additional SSH Keys”.
Any idea what I’m doing wrong, or is there a bug in CircleCI new resources?