如何修复nw_protocol_boringssl_get_output_frames(1301)[C6.1:2] [0x7fc1e7a0ead0]获取输出帧失败,

时间:2019-08-02 19:08:12

标签: ios swift firebase authentication

我正在为具有Firebase的应用程序创建登录页面,已成功将我的应用程序连接到Firebase并安装了以下Pod。 我期待获得登录选项,但实际页面未显示任何内容。 在调试控制台上,出现以下错误:

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'authentication' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for authentication

  pod 'Firebase/Analytics'
  pod 'Firebase/Core'
  pod 'FirebaseUI'
  pod 'FirebaseUI/Auth'
  pod 'FirebaseUI/Google'




end

问题是,当我点击“登录”按钮时,它会打开“身份验证”页面,但我没有任何“登录”选项,而只有白页

我试图删除并重新安装Pod,还试图打开Firebase控制台以禁用并再次启用身份验证方法(邮件和密码以及Google登录)

这是我的视图控制器的一部分:

@IBAction func loginTapped(_ sender: UIButton) {
    //Get default Auth UI object
    let AuthUI = FUIAuth.defaultAuthUI()
    guard AuthUI != nil else {
        //Log error
        return
    }
    AuthUI?.delegate = self

    let authViewController = AuthUI!.authViewController()

    present(authViewController, animated: true, completion: nil)

   }

}

extension ViewController: FUIAuthDelegate {
    func authUI(_ authUI: FUIAuth, didSignInWith authDataResult: AuthDataResult?, error: Error?) {

        //Check if there was an error
        if error != nil {
            //Log error
            return
        }

        //authDataResult?.user.uid
        performSegue(withIdentifier: "goHome" , sender: self)

    }
}
authentication[4710:28747] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C6.1:2][0x7fc1e7a0ead0] get output frames failed, state 8196

(身份验证是项目的名称)

0 个答案:

没有答案