firebase-ios-sdk: Using FirebaseOSX login yields strange errors
@IBAction func loginClicked(_ sender:Any?) {
if let email = emailTextField?.stringValue,
let pw = pwTExtField?.stringValue {
Auth.auth().signIn(withEmail: email, password: pw) { [weak self] user, error in
guard let strongSelf = self else { return }
SwiftyBeaver.debug("user = \(user), error = \(error)")
}
}
}
Using this code to login I never see my debug message. instead I see:
2019-03-18 21:00:00.552207-0500 Tracktive[16337:621029] SecTaskLoadEntitlements failed error=22 cs_flags=20, pid=16337
2019-03-18 21:00:00.552275-0500 Tracktive[16337:621029] SecTaskCopyDebugDescription: Tracktive[16337]/0#-1 LF=0
2019-03-18 21:00:00.954806-0500 Tracktive[16337:621029] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C1.1:2][0x1017270c0] get output frames failed, state 8196
2019-03-18 21:00:00.954844-0500 Tracktive[16337:621029] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C1.1:2][0x1017270c0] get output frames failed, state 8196
2019-03-18 21:00:00.955029-0500 Tracktive[16337:621029] TIC Read Status [1:0x0]: 1:57
2019-03-18 21:00:00.955052-0500 Tracktive[16337:621029] TIC Read Status [1:0x0]: 1:57
2019-03-18 21:00:06.024447-0500 Tracktive[16337:621130] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C2.1:2][0x1030286b0] get output frames failed, state 8196
2019-03-18 21:00:06.024493-0500 Tracktive[16337:621130] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C2.1:2][0x1030286b0] get output frames failed, state 8196
2019-03-18 21:00:06.024683-0500 Tracktive[16337:621130] TIC Read Status [2:0x0]: 1:57
2019-03-18 21:00:06.024700-0500 Tracktive[16337:621130] TIC Read Status [2:0x0]: 1:57
2019-03-18 21:00:06.329748-0500 Tracktive[16337:621130] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C3.1:2][0x10163a2a0] get output frames failed, state 8196
2019-03-18 21:00:06.329792-0500 Tracktive[16337:621130] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C3.1:2][0x10163a2a0] get output frames failed, state 8196
2019-03-18 21:00:06.330027-0500 Tracktive[16337:621130] TIC Read Status [3:0x0]: 1:57
2019-03-18 21:00:06.330050-0500 Tracktive[16337:621130] TIC Read Status [3:0x0]: 1:57
2019-03-18 21:00:06.334273-0500 Tracktive[16337:621164] [logging-persist] cannot open file at line 42263 of [95fbac39ba]
2019-03-18 21:00:06.334293-0500 Tracktive[16337:621164] [logging-persist] os_unix.c:42263: (0) open(/var/db/DetachedSignatures) - Undefined error: 0
2019-03-18 21:00:06.335076-0500 Tracktive[16337:621164] [logging-persist] cannot open file at line 42263 of [95fbac39ba]
2019-03-18 21:00:06.335087-0500 Tracktive[16337:621164] [logging-persist] os_unix.c:42263: (0) open(/var/db/DetachedSignatures) - Undefined error: 0
I have no idea what these mean and nor does google. My app is NOT sandboxed, if that is relevant. I’m afraid I’m going to be another one of those “Wish I hadn’t chose Firebase” bloggers soon.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 21 (10 by maintainers)
Everything seems to be working ok now. Seeing some BoringSSL errors, but auth works. Thanks for bearing with an autist and guiding me to the solution. I’m not so sure what is different in my config that what I tried before, (erhaps not having firestore pod and my app using it on the backend) but I’m gald it works. Closing the issue.