由于未捕获异常“FirebaseShutdown”而终止应用,原因:'Firebase error
问题描述:
Terminating app due to uncaught exception 'FirebaseShutdown', reason: 'Firebase error. Please ensure that you spelled the name of your Firebase correctly' in ios.
任何人都可以帮我解决这个问题吗?
使用该演示的实时消息: https://github.com/firebase/ios-swift-chat-example由于未捕获异常“FirebaseShutdown”而终止应用,原因:'Firebase error
是否有iOS中实时聊天的任何演示?
答
您所得到的错误实际上是通过调用[Firebase initWithUrl:]
与URL
而得不到有效的Firebase支持。
抛出此异常,以便您作为开发人员知道您要连接的Firebase
无效。
如果你把正确的Firebase
URL
,你不应该得到这个错误。
Could you explain the situation in which you might need to connect to a Firebase that may not be valid?
注: - 你需要检查你的基地URL
为Firebase
,因为你从错误的URL
基本URL中火力控制台可尝试访问数据? –
您能否提到有问题的确切线路,哪里应用程序崩溃 – iMHitesh
由于未捕获的异常'FirebaseInternalError'导致终止应用程序,原因:'对于自定义的Firebase主机,您必须先使用身份验证功能才能设置您的身份验证服务器! ,目前发现新错误 –