How to stop "keychain access" permission dialog on MacOS when debugging Flutter app on Visual Studio Code?

765

There are several cases when the permissions popup is presented and some of them cannot be fixed on Firebase side.

Could you please provide more details on your workflow:

  • Can you observe Keychain items created by your app with different signing settings? If you remove them, do you still observe the alert?
  • Do you observe the alert if you re-install your app without signing changes?
  • Once you allow access you should not see more alerts. It is the case for you?

Also, Please check the GitHub discussion on #5603 GitHub

You may add the following line to your Podfile for this and try:

pod 'FirebaseInstallations', :git=>'https://github.com/firebase/firebase-ios-sdk.git', :branch=>'master'
Share:
765
Gintas_
Author by

Gintas_

Updated on December 25, 2022

Comments

  • Gintas_
    Gintas_ over 1 year

    I had just moved from Android Studio to Visual Studio Code. I'm using Firebase in my app which I debug by running it on MacOS. Every time I do "Start Debugging" on VS code, I get this dialog which I learned to hate by this time. Even if I type my password and click "Always Allow", it still appears next time I start debugging. enter image description here

    I tried changing Access Control settings in Keychain but that didn't help. The dialog is driving me insane. Any ideas? enter image description here

  • Gintas_
    Gintas_ over 3 years
    this is not about iOS, it's about MacOS
  • Gintas_
    Gintas_ over 3 years
    “Change Password for Keychain 'login.'” is greyed out for me and I can't click it. Why do you think this password reset process would help in this case?
  • user2027712
    user2027712 almost 2 years
    Should reboot device on latest MacOS Version.