Skip to content

skip doctor should suggest using xcode-select if the command-line tools are selected #609

@dfabulich

Description

@dfabulich
% sudo xcode-select --switch /Library/Developer/CommandLineTools
% xcodebuild --version
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
% skip doctor
[✗] Xcode version: error executing xcodebuild (install from: https://developer.apple.com/xcode/)

skip doctor should suggest running xcode-select in this case.

Note that installing Homebrew automatically installs and selects /Library/Developer/CommandLineTools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions