I had to disable HTTPS to SSH rewriting for Git.
Check inside your ~/.gitconfig file if you have some line such as:
[url "git@github.com:"]
insteadOf = https://github.com/
If so comment it or remove when adding Swift Package Manager dependencies.
网友评论