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)"
问题描述
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屋!