Xcode won't add Firebase package manager

Hi,

Firebase package manager was working fine, then had to move the whole project to a fresh install of the mac.

Now Xcode won't allow adding Firebase via File > Packages (just greyed out)

And when putting https://github.com/firebase/firebase-ios-sdk.git into + Package Dependency method nothing happens.

Screenshots attached.

I have deleted the build caches via About this mac > Storage > Manage > Developer but it didn't help.

Any suggestions greatly appreciated.

Thanks

Answered by Dibit in 694280022

Fixed it.

When copying the url for firebase package into the above, there was a space after the .git which meant it didn't come up when searching.

All good now.

Accepted Answer

Fixed it.

When copying the url for firebase package into the above, there was a space after the .git which meant it didn't come up when searching.

All good now.

For those who still struggle, you need to "star" the project on GitHub, then it will appear in the Xcode packages list.

Xcode won't add Firebase package manager
 
 
Q