f-miyu / Plugin.FirebaseAuth

MIT License
61 stars 26 forks source link

An error occurred when accessing the keychain #4

Open SagarPanwala opened 5 years ago

SagarPanwala commented 5 years ago

An error occurred when accessing the keychain. The @c NSLocalizedFailureReasonErrorKey field in the @c NSError.userInfo dictionary will contain more information about the error encountered ---> Foundation.NSErrorException: Error Domain=FIRAuthErrorDomain Code=17995

EduardoForever commented 5 years ago

An error occurred when accessing the keychain. The @c NSLocalizedFailureReasonErrorKey field in the @c NSError.userInfo dictionary will contain more information about the error encountered ---> Foundation.NSErrorException: Error Domain=FIRAuthErrorDomain Code=17995

Hi, try to use https://stackoverflow.com/questions/39487368/xamarin-auth-store-keychain-not-working-after-ios10-upgrade/39576798#39576798

vhugogarcia commented 4 years ago

That article helped a lot! Thanks Eduardo.

irajeshh commented 1 year ago

For those who are facing the issue after upgrading to Flutter 3.1.0+ & Firebase auth 4.6.1+ Open the macos project in Xcode. Runner>Signing & Capablities Make sure a team is selected under Signing Team: Select a team (If not available, create a team)

Click+Capablitiy button Select Keychain Sharing Click + button and make sure your app bundle id is showing

image

And then Enable Developement Signing image

Now open the project in vscode. Open Terminal tab. Run flutter clean. Run flutter pub get. Now start debugging the app.

tkshnwesper commented 1 year ago

@irajeshh thank you for the instructions! It resolved my issue 🚀