missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

I have this problem: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

Could someone help me? Two days ago I installed the last software update to MacOS: 12.5 and I have installed Xcode 13.4.1 for programming. Could this be the problem? Thanks for the support.

Replies

Hi,

Please run following command in Terminal and then try.

xcode-select --install

  • thank you for your help

    I found the solution by doing a --reset there was certainly a conflict between the old version and the update in the path

Add a Comment

Hello,

I tried running the following command in Terminal: and it prompted a window that says:

"The "xcode-select" command requires the command line developer tools. Would you like to install the tools now?"

and when I click "install"

The message I get after it searches for the software is:

"Can’t install the software because it is not currently available from the Software Update server."

Can someone help me?

I installed the public beta for Ventura today and now my computer wont allow me to run git commands.

Thanks for the support.

I installed the public beta for Ventura today and now my computer wont allow me to run git commands.

If you’re running a beta release of a major new version of macOS you need to install the corresponding beta release of the tools. For macOS 13.0b4, that means either Xcode 14.0b4 or its corresponding command-line tools package. You can get these from the Developer > Downloads page. Xcode is under the Applications tab and the command-line tools package is under More.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

  • thanks you, I had to restart my computer after installing XCcode Beta on my machine for the error to go away!

Add a Comment