在我的应用程序中,我成功使用了Firebase,在AppDelegate中我进行了设置:
原文链接:https://www.f2er.com/swift/320214.html// ### Initialize Firebase FIRApp.configure()
现在我对相关目标进行一些单元测试,当我启动它时,我得到错误:
2017-04-14 14:53:22.351 MyProject[28753] <Error> [Firebase/Core][I-COR000004] App with name __FIRAPP_DEFAULT does not exist. 2017-04-14 14:53:22.354 MyProject[28753] <Error> [Firebase/Messaging][I-IID001000] Firebase is not set up correctly. Sender ID is nil or empty. 2017-04-14 14:53:22.356 MyProject[28753] <Notice> [Firebase/Analytics][I-ACS023007] Firebase Analytics v.3800000 started 2017-04-14 14:53:22.356 MyProject[28753] <Notice> [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled 2017-04-14 14:53:22.381 MyProject[28753:712475] *** Terminating app due to uncaught exception 'com.firebase.instanceid',reason: 'Could not configure Firebase InstanceID. Google Sender ID must not be nil or empty.'
版本:
Firebase/Core (3.16.0) Firebase/Messagging (3.16.0)
任何建议?