小编Bre*_*rdo的帖子

应用程序在使用Firebase Auth时崩溃,原因是:"默认应用程序已配置完毕."

我正在构建我的第一个iOS应用程序,我使用Firebase来处理身份验证,数据库等.我添加了一个注册屏幕,并使用以下代码创建一个新用户:

FIRAuth.auth()?.createUserWithEmail(emailAddress.text!, password: password.text!, completion: { (user, error) in

        })
Run Code Online (Sandbox Code Playgroud)

当用户点击注册按钮时,会有一个segue应该将它们带回原始登录视图控制器.但是,当我运行应用程序时,它会挂起启动屏幕.这是调试器输出:

2016-06-19 14:35:05.402 unitaskr[4386:82981] Configuring the default app.
2016-06-19 14:35:05.413 unitaskr[4386:] <FIRAnalytics/INFO> Firebase Analytics     v.3200000 started
2016-06-19 14:35:05.414 unitaskr[4386:] <FIRAnalytics/INFO> To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see ...)
2016-06-19 14:35:05.419: <FIRInstanceID/WARNING> FIRInstanceID AppDelegate proxy enabled, will swizzle app delegate remote notification handlers. To disable add "FirebaseAppDelegateProxyEnabled" to your Info.plist and set it to NO
2016-06-19 14:35:05.418 unitaskr[4386:] <FIRAnalytics/INFO> Successfully created Firebase Analytics App Delegate Proxy automatically. …
Run Code Online (Sandbox Code Playgroud)

ios firebase swift firebase-authentication

34
推荐指数
10
解决办法
2万
查看次数

标签 统计

firebase ×1

firebase-authentication ×1

ios ×1

swift ×1