Firebase iOS设置-无senderID
尝试为iOS设置Firebase时,我在控制台中遇到以下错误:Firebase iOS设置-无senderID,ios,firebase,push-notification,apple-push-notifications,firebase-cloud-messaging,Ios,Firebase,Push Notification,Apple Push Notifications,Firebase Cloud Messaging,尝试为iOS设置Firebase时,我在控制台中遇到以下错误: <FIRInstanceID/WARNING> Firebase messaging not setup correctly, nil senderID. Firebase消息未正确设置,无senderID。 看起来Firebase没有很好地检测到我的谷歌服务信息.plist,我试着把它放在几个位置(包括根目录),但没有成功。关于如何解决这个问题有什么想法/建议吗?请确保文件GoogleService Info.pl
<FIRInstanceID/WARNING> Firebase messaging not setup correctly, nil senderID.
Firebase消息未正确设置,无senderID。
看起来Firebase没有很好地检测到我的
谷歌服务信息.plist
,我试着把它放在几个位置(包括根目录),但没有成功。关于如何解决这个问题有什么想法/建议吗?请确保文件GoogleService Info.plist
包含在应用程序使用Firebase构建代码的所有目标中。
解决方案很简单,我只是忘了放
[FIRApp configure]代码>位于AppDelegate.m
编辑:如果您收到此错误,则表示您忘记将GoogleService Info.plist
添加到所有目标(如另一个答案所述):
无法获取APNS令牌错误域=com.firebase.iid code=1001”(空)
谢谢,但问题是我忘了调用“配置”……但是你的答案可能会被其他人接受。
<FIRInstanceID/WARNING> Failed to fetch APNS token Error Domain=com.firebase.iid Code=1001 "(null)"