Last active
April 15, 2024 06:52
-
-
Save gaquino/87bdf0e6e852e445c0489379d3e9732a to your computer and use it in GitHub Desktop.
MacOS (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools))
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you are facing an error like that on new MacOS version. | |
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun | |
It means that you need to install XCode command line, open a Terminal and run this command: | |
$ xcode-select --install | |
Note: | |
If you want to download and install Command Line tools manually, it can be downloaded from: https://developer.apple.com/download/more/ |
Thanks - That works!
Thanks!
Thanks!
If saving space and dont want to install of xcode, follow this and select latest supported version of OS
https://apple.stackexchange.com/questions/418048/how-much-disk-space-do-the-command-line-developer-tools-take-up
https://developer.apple.com/download/all/?q=command%20line%20xcode%2013
Same issue again after the Sonoma Update.
It works for me, thank you!
Macbook Pro, 13-inch, M1 2020
Sonoma 14.4
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great! Thank you!