已导入Firebase,但无法使用

杰森·P

我只是想将Facebook登录名与配对Firebase我正在创建一个单例对象,其中引用了我的Firebase项目,但不允许我初始化firebase。我已经尽我所能导入了每个吊舱,但仍然无法正常工作。

我遇到错误了。

它使我发疯..这是过时的还是什么?

这是我的Pod文件

enter image description here

尼拉夫D

在新版本的中Firebase,您需要使用FIRDatabase.database().reference()代替Firebase(url: url),如果您对此不了解,请查看iOS的最新Firebase文档

If you are upgrading your existing app that uses Firebase.com to the new Firebase console and APIs the check this documentation of Firebasefor that.

Also you can check this video tutorial on iOS Swift Tutorial: Get started with Firebase and an App like Twitter

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章