AppAuth-iOS icon indicating copy to clipboard operation
AppAuth-iOS copied to clipboard

Unable to build flutter app. git clone failed

Open nathanielajayi7 opened this issue 4 years ago • 3 comments

Describe the bug Unable to debug a flutter app with a Mac for days. Every run ends with this error

**Installing AppAuth (1.5.0)

[!] Error installing AppAuth [!] /usr/local/git/bin/git clone https://github.com/openid/AppAuth-iOS.git /var/folders/sp/bt0ltdxd4mnf5tp3l_608l880000gn/T/d20220407-18938-1unjube --template= --single-branch --depth 1 --branch 1.5.0

Cloning into '/var/folders/sp/bt0ltdxd4mnf5tp3l_608l880000gn/T/d20220407-18938-1unjube'... fatal: protocol '”git' is not supported ** I currently have git installed on the Mac and it works fine

To Reproduce Steps to reproduce the behavior:

  1. Add firebase_auth and google sign in to your flutter project
  2. Resolve flutter dependecies
  3. Run "pod install" or try to run debug with ios emulator
  4. See error

Expected behavior

Everything resolves except AppAuth

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Mac OS Big Sur
  • Version: 12.3,1

nathanielajayi7 avatar Apr 07 '22 21:04 nathanielajayi7

Not sure why pod install's git clone command is failing here. Have you tried manually running the git clone command from your logs to check that it works?

git clone https://github.com/openid/AppAuth-iOS.git --template= --single-branch --depth 1 --branch 1.5.0

petea avatar Apr 08 '22 17:04 petea

Yes, tried that too. Didn't work. Produced exact same error

On Fri, Apr 8, 2022, 18:00 Peter Andrews @.***> wrote:

Not sure why pod install's git clone command is failing here. Have you tried manually running the git clone command from your logs to check that it works?

git clone https://github.com/openid/AppAuth-iOS.git --template= --single-branch --depth 1 --branch 1.5.0

— Reply to this email directly, view it on GitHub https://github.com/openid/AppAuth-iOS/issues/701#issuecomment-1093090601, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM726J5WMBKSSXP42XF7UODVEBQ37ANCNFSM5S2TX2AA . You are receiving this because you authored the thread.Message ID: @.***>

nathanielajayi7 avatar Apr 08 '22 17:04 nathanielajayi7