Acessing private git repo from cloud build

Hi, I use unity cloud build and configured the ios target.

My project accesses some private git repos for assets. The build fails with these errors:

[2024-10-19T09:16:36Z - Unity]     You may need to set up a Git credentials helper
[2024-10-19T09:16:36Z - Unity]     to access a private repository.

I don’t know how to set up this credentials helper, anyone can help?

If you are using git with a PAT then the PAT needs to have access to the same private repository and the git submodule needs to be configured to use https. If you cannot use https with a PAT then I recommend switching to our generic Git connection which uses SSH. You would then add the SSH key to your main repository as well as the submodules. The submodules configuration would need to use SSH.