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

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -