First off - the SPM support in Xcode is really, really great. Kudos to all involved.
I have a project that pulls in a private repository via SSH from an organization that I belong to on GitHub. I followed these instructions (with Deploy Keys) to get it working in our development flow: IBM Developer. However, with the new Xcode integration, I keep bumping into Authentication failed because credentials were missing
error. I have tried the following steps:
- Reauthenticating locally with GitHub
- Adding a new deploy key
- Adding my
id_rsa
key as a deploy key (GitHub does not allow this, but I tried) - Regenerating the project
- Deleting the
.ssh
folder in the project folder - Manually selecting my deploy key public cert in the accounts picker in settings
All of the above produce the same error. swift build
works fine as I believe it looks at .ssh
automatically. I believe there may be something wrong with Xcode where it is not picking up that folder.
Does anyone know how I could solve this? Apologies if this is not an appropriate place for this post, and thanks in advance.