我在集成了Firebase的iOS应用中收到此错误:
<Error> [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add [FIRApp configure] to your application initialization
但是我已经在AppDelegate中添加了[FIRApp configure]
:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
[FIRApp configure];
}
我该如何解决这个问题?我还使用Pods进行Firebase身份验证,数据库和消息传递。
答案 0 :(得分:0)
您的步骤中可能缺少某些内容。尝试这种方式:
然后您的代码可以完美运行。