Firebase Auth Signout Error - Swift -
when try sign out user using method, error:
fatal error: 'try!' expression unexpectedly raised error: error domain=firautherrordomain code=17995 "an error occurred while accessing keychain." userinfo={nslocalizeddescription=an error occurred while accessing keychain., error_name=error_keychain_error, nslocalizedfailurereason=secitemdelete (-34018)}: file /library/caches/com.apple.xbs/sources/swiftlang/swiftlang-800.0.33.1/src/swift/stdlib/public/core/errortype.swift, line 146
func logout() { try! firauth.auth()!.signout() }
i didn't find on web addressing error.. know problem?
you need enable keychain sharing entitlement.
from project navigator, go project settings , find target. under capabilities tab, turn on keychain sharing.
i had same problem trying create new user. i'm not sure why firebase needs permission now, works.
Comments
Post a Comment