I have a fresh install of macOS Monterey on an M1 laptop. When I try to install xcodes via brew I get the following output:
~ ❯❯❯ brew install xcodes
Running `brew update --preinstall`...
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
https://github.com/Homebrew/brew#donations
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
libxcrypt
==> Updated Formulae
Updated 57 formulae.
==> Cloning https://github.com/RobotsAndPencils/xcodes.git
Updating /Users/benjamin/Library/Caches/Homebrew/xcodes--git
==> Checking out tag 0.20.0
HEAD is now at bfefa45 Bump version to 0.20.0
HEAD is now at bfefa45 Bump version to 0.20.0
==> Installing xcodes from robotsandpencils/made
==> make install prefix=/opt/homebrew/Cellar/xcodes/0.20.0
Last 15 lines from /Users/benjamin/Library/Logs/Homebrew/xcodes/01.make:
2022-04-27 23:53:50 +0000
make
install
prefix=/opt/homebrew/Cellar/xcodes/0.20.0
warning: Failed creating default security location, Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “security” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/benjamin/Library/org.swift.swiftpm/security, NSUnderlyingError=0x6000028a4d50 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
warning: Failed creating default configuration location, Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “configuration” in the folder “org.swift.swiftpm”." UserInfo={NSFilePath=/Users/benjamin/Library/org.swift.swiftpm/configuration, NSUnderlyingError=0x6000028a6dc0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
warning: Failed creating default cache location, Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “org.swift.swiftpm” in the folder “Caches”." UserInfo={NSFilePath=/Users/benjamin/Library/Caches/org.swift.swiftpm, NSUnderlyingError=0x6000028a7a80 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
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
make: *** [xcodes] Error 1
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/robotsandpencils/homebrew-made/issues
I have command line tools already installed, updated, and selected. Googling the "xctest" error suggests that it requires Xcode to be installed.
Is this a bug, or is it impossible to use xcodes until you've manually installed Xcode at least once?
I have a fresh install of macOS Monterey on an M1 laptop. When I try to install xcodes via brew I get the following output:
I have command line tools already installed, updated, and selected. Googling the "xctest" error suggests that it requires Xcode to be installed.
Is this a bug, or is it impossible to use xcodes until you've manually installed Xcode at least once?