Skip to content

Document running xcode-select #21

Description

@dfabulich

Apropos skiptools/skipstone#205

On a fresh machine (e.g. UTM), the initial skip checkup will fail, because installing Homebrew will xcode-select --switch /Library/Developer/CommandLineTools.

[✗] Xcode version: error executing xcodebuild (install from: https://developer.apple.com/xcode/)

In verbose mode:

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

(It doesn't matter whether you install Homebrew before or after Xcode. Once Homebrew selects the CLT directory, nothing automatically attempts to reset it to Xcode.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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