xcodes icon indicating copy to clipboard operation
xcodes copied to clipboard

Cannot download with brew if Xcode not already installed

Open Tyler-Keith-Thompson opened this issue 3 years ago • 3 comments

I'm setting up a bunch of new boxes and wanted to use Xcodes to get the latest greatest. However every time I try to brew install I get:

make
install
prefix=/opt/homebrew/Cellar/xcodes/0.19.0

error: terminated(72): /usr/bin/xcrun --sdk macosx --find xctest output:
  xcrun: error: unable to find utility "xctest", not a developer tool or in PATH

Workaround: If you install a version of Xcode first and set the command line tools (under preferences -> location) this starts to work. It's just a bummer.

Tyler-Keith-Thompson avatar Jan 05 '22 22:01 Tyler-Keith-Thompson

Duplicate of https://github.com/RobotsAndPencils/xcodes/issues/148.

brentleyjones avatar Jan 10 '22 22:01 brentleyjones

Not quite? This is happening on an intel Mac, not just an M1 issue

Tyler-Keith-Thompson avatar Jan 10 '22 23:01 Tyler-Keith-Thompson

I think the title of the other one is just misleading. It's the same issue, XCTest isn't available with the command line tools.

brentleyjones avatar Jan 11 '22 00:01 brentleyjones