Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fastlane setup - fatal: could not read Password for 'https://<org>@dev.azure.com': terminal prompts disabled

I am trying to setup Fastlane for iOS certificates and profile syncing in my MacBook. When I execute the command sudo fastlane match development --readonly, I get below error.

What is it actually? I guess that the terminal is blocking the prompt where I could enter the match password. I do not understand why I face this issue, also I have access to the repository.

like image 472
iOS Avatar asked Oct 28 '25 17:10

iOS


1 Answers

Normally, the password would be cached in your Credential Storage (osxkeychain on Mac), but for your current user.
And you are executing that command as root.

Check:

  • if you have a credential helper set (with your account)

      git config credential.helper
    
  • if your credentials are stored

      git ls-remote https://...
      # if a popup is displayed, enter your credentials there
    
  • if the same command would work if executed as you (instead of root)

like image 57
VonC Avatar answered Oct 31 '25 06:10

VonC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!