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

Add warning about selecting the correct command line tools #355

Closed
vzsg opened this issue Aug 20, 2018 · 1 comment · Fixed by #806
Closed

Add warning about selecting the correct command line tools #355

vzsg opened this issue Aug 20, 2018 · 1 comment · Fixed by #806
Labels
good first issue help wanted Contributor help wanted!

Comments

@vzsg
Copy link
Member

vzsg commented Aug 20, 2018

If the active command line tools is set to a "Command Line Tools for Xcode" installation instead of a valid Xcode path, building the project or generating an xcodeproj fails with cryptic errors, for example:

error: terminated(72): xcrun --sdk macosx --find xctest output:
    


Error: Could not generate Xcode project: error: terminated(72): xcrun --sdk macosx --find xctest output:

Unfortunately, Homebrew's current install script seems to install and activate the Command Line Tools package even if there's a real Xcode installed on the system, so it's likely that new users will regularly run into this issue.


We should add a note to the macOS install guide to select the correct command line tools either via sudo xcode-select -s, or Xcode's Preferences-Locations.

@0xTim 0xTim added good first issue help wanted Contributor help wanted! labels May 3, 2022
@gwynne
Copy link
Member

gwynne commented May 26, 2023

This is no longer relevant with current versions of Swift and Xcode.

@gwynne gwynne closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2023
@0xTim 0xTim closed this as completed in #806 Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue help wanted Contributor help wanted!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants