openid / openid/AppAuth-iOS

Unable to build flutter app. git clone failed

Open
#701 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
2k
Forks
867
Avg merge
4d 48m
Merged PRs (30d)
1

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported pod install or iOS debug flow and inspect the AppAuth 1.5.0 git clone command, especially the malformed protocol shown in the error. Reproduce with firebase_auth and Google Sign-In on macOS Big Sur; done means AppAuth resolves successfully and the Flutter iOS app builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
flutter, git, ios, objective-c
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.