openid / AppAuth-iOS

iOS and macOS SDK for communicating with OAuth 2.0 and OpenID Connect providers.
https://openid.github.io/AppAuth-iOS
Apache License 2.0
1.77k stars 773 forks source link

Unable to build flutter app. git clone failed #701

Open nathanielajayi7 opened 2 years ago

nathanielajayi7 commented 2 years ago

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):

petea commented 2 years ago

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
nathanielajayi7 commented 2 years ago

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: @.***>

devsideal commented 1 month ago

I'm also getting similar issue:

image