Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change suggestion if xcode-select --install fails #156

Merged
merged 1 commit into from
Jul 13, 2023
Merged

Conversation

spouliot
Copy link
Contributor

Fixes #154

There's (at least) two cases with xcode-select -p can return /Library/Developer/CommandLineTools

In the first case (already covered) the tools needs to be installed so running xcode-select --install is correct.

However this will fail if the tools were already installed. In this case this leads to repetitive asking to fix, checking and failing, asking to fix...

The solution is to ask the user to setup (download/install) the correct Xcode version.

@jeromelaban jeromelaban merged commit 1455077 into main Jul 13, 2023
@jeromelaban jeromelaban deleted the gh154 branch July 13, 2023 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect Xcode check if location is set to an invalid/incomplete directory
2 participants