brew doesn't detect latest version of xcode CLT #5690
Replies: 4 comments
-
Oh forgot to mention, I am using macOS Sequoia 15.0.1 |
Beta Was this translation helpful? Give feedback.
-
From this, you may not have installed CLT properly. Are you sure you downloaded "Command Line Tools for Xcode 16" instead of "Xcode 16"? These are not the same thing. CLT installs to |
Beta Was this translation helpful? Give feedback.
-
I just removed
|
Beta Was this translation helpful? Give feedback.
-
This is super weird, I tried installing "Command Line Tools for Xcode 16" again but it still doesn't work. Then I uninstall xcode, reinstall with homebrew, install "Command Line Tools for Xcode 16" manually, and I finally have Thank you for all the help! |
Beta Was this translation helpful? Give feedback.
-
Output of
brew config
Output of
brew doctor
Description of issue
When I run
brew upgrade
, I get this error:Firstly, I tried running
but that gives me the error that I don't have the folder
CommandLineTools
in/Library/Developer
. Digging further, it seems like later version of xcode is installed in/Applications/Xcode.app
instead:Therefore, I downloaded
clt for xcode 16.0
straight from https://developer.apple.com/download/all/. However, I still get the above warnings as well as error. Could someone help me with this please?Addition: also is it true that in later versions, xcode doesn't install themself in
/Library/Developer/CommandLineTools
anymore? I see many posts online still use that path but I don't have it.Beta Was this translation helpful? Give feedback.
All reactions