authentication failed because no credentials were provided -- while adding firebase-ios0sdk package to a swiftui project

xcode: 14.3 (i even tried 14.2 and 14.1, but got the same error) macOS: 13.3.1 (a) (22E772610a)

tldr/video: https://www.loom.com/share/6dfd0ed306a1424ea05a8a08e7faff9c

getting hit with an "authentication failed because no credentials were provided" while trying to add the firebase ios package to my project. driving me nuts!

have tried all combinations of user settings (clone using HTTPS and SSH) and SSH Key settings (id_ed25519 and id_rsa) -- this was recommended by various stack overflow threads

the token lets me commit/push/etc fine to my repo, but unable to add SPM packages

  • have rebooted mac, restarted XCode, Uninstalled and reinstalled XCode 14.3, then 14.2 and then tried 14.1 but it persists

update!: if i do the following, I'm able to reach a "Verifying firebase-ios-sdk" window but it hangs :/

  1. In XCode accounts, (with clone using HTTPS already selected), add SSH Key id_ed25519 and upload. Then it says successfully uploaded (see screenshot1)

  1. Instead of searching firebase, search git@github.com:firebase/firebase-ios-sdk.git (see screenshot2)

  1. But it hangs on the Verifying firebase-ios-sdk window saying it's fetching the package (see screenshot3)

I also have this issue, have you been able to solve this?

I had this in my global git config:

[url "git@github.com:"]
	insteadOf = https://github.com/

I needed to comment it out to make it work

I had the same issue. But after updating Xcode 15.1 to 15.3, I can use https://github.com/firebase/firebase-ios-sdk .

I have the same issue but I don't find the solution. I also changed to SSH connection but nothing. My git config file doesn't have that url command.

authentication failed because no credentials were provided -- while adding firebase-ios0sdk package to a swiftui project
 
 
Q