Unable to fetch dependencies from GitHub: "Could not read username"

I am unable to complete the Archive step for my iOS project. Looking at the logs, I see a number of messages that imply that Xcode Cloud is unable to fetch my dependencies for some reason.

I have verified that I gave Xcode access to all my GitHub repositories, and it seems to be able to access my primary project repository without any problems.

The type of logs I'm getting are as follows:

Failed to clone repository git@github.com:myusername/MyRepositoryName.git:
    Cloning into bare repository '/Volumes/workspace/DerivedData/SourcePackages/repositories/MyRepositoryName-b342b4d2'...
    fatal: could not read Username for 'http://github.com': terminal prompts disabled

One for each of my dependencies.

Any thoughts?

Hey Jeff,

as I already mentioned in the WWDC22 Slack I finally managed to solve the problem. Please have a look at this Git.

Cheers, Frank

Unable to fetch dependencies from GitHub: "Could not read username"
 
 
Q