Firebase iOS无法获取默认令牌Error Domain = com.firebase.iid Code = 6“(null)” [英] Firebase iOS Failed to fetch default token Error Domain=com.firebase.iid Code=6 "(null)"

查看:599
本文介绍了Firebase iOS无法获取默认令牌Error Domain = com.firebase.iid Code = 6“(null)”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行我的Firebase应用程序时,我不断收到标题中的错误。我相信这是阻止我执行数据库查询。例如 FIRAuth.auth()?。currentUser nil 登录后。



经过研究,我相信我必须为我的项目添加一个钥匙链。当我打开(xCode - >目标 - >功能)中的钥匙串共享时,我在下面的屏幕上显示错误。





我需要添加某种钥匙串访问(应用程序)中的证书?

我没有使用邮件功能,所以我不认为我需要添加.p12证书建议



我已按照此处的所有设置步骤进行操作。

解决方案

我找到了解决方案 https://groups.google.com/forum/#!msg/fireba se-talk / xvjyJUMFL1Y / rhsF7EQEBQAJ



我的Firebase版本存在一个错误 - pod update 解决了这个问题


I keep getting the error in the title when I run my Firebase application. I believe it is preventing me from executing database queries. For example FIRAuth.auth()?.currentUser is nil after logging in.

After research, I believe I have to add a keychain to my project. When I turn on keychain sharing in (xCode -> targets -> capabilities) I get the error in the screen cap below.

Do I need to add some sort of certificate in Keychain Access (application)?

I'm not using the messaging feature, so I don't think I need to add the .p12 certificate suggested here.

Do I need to add some sort of keychain in the Firebase console?

I've confirmed that my BundleID is correct.

Do I need to change something here:

I have followed all the setup steps here.

解决方案

I found the solution https://groups.google.com/forum/#!msg/firebase-talk/xvjyJUMFL1Y/rhsF7EQEBQAJ

There's a bug in my version of Firebase -- pod update resolved this issue

这篇关于Firebase iOS无法获取默认令牌Error Domain = com.firebase.iid Code = 6“(null)”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆