Post

Replies

Boosts

Views

Activity

Xcode clone using SSH key auth
I'm having trouble connecting Xcode to our internal source control service (git/SSH) using SSH key (RSA) authentication. I can't clone using Xcode - if I try I just get a repeated prompt for SSH key file and username which says "Authentication failed because the credentials were rejected - Verify the authentication credentials were entered correctly and try again". I can git clone from a shell or VS Code just fine. If I clone some repo from a shell then open it in Xcode and do Source Control > Fetch Changes, Xcode throws "An unknown error occurred." multiple times. Username/password authentication is not an option in my scenario due to organisational security controls; I must use SSH key authentication. I want to host Swift packages in our internal source control, hence I can't easily workaround this issue. Has anyone run into this before?
0
1
860
Nov ’22