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

Accepted Reply

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.

  • in my case its almost the same with xcode 13.2.1 but it keep shoes "loading" in the search tool but nothing happens. it pops up a certificate trust question from time to time - but nothing... any ideas ?

  • The same. Pasted URL without any spaces.

  • @RonenCohen, I solved this! You should "start" the Firebase project on GitHub, then it will appear in your list in Xcode.

Add a Comment

Replies

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.

  • in my case its almost the same with xcode 13.2.1 but it keep shoes "loading" in the search tool but nothing happens. it pops up a certificate trust question from time to time - but nothing... any ideas ?

  • The same. Pasted URL without any spaces.

  • @RonenCohen, I solved this! You should "start" the Firebase project on GitHub, then it will appear in your list in Xcode.

Add a Comment

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