After upgrade to Big Sur git stopped working

After upgrade to Big Sur git stopped working and it keeps prompting to install CLT. According to Xcode-select, see output below CLT is already installed:

sbezverk@sbezverk-mac-2 ~ % sudo xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates

sbezverk@sbezverk-mac-2 ~ % git

sh: line 1:   772 Bus error: 10           /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk macosx -find git 2> /dev/null

git: error: sh -c '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk macosx -find git 2> /dev/null' failed with exit code 35328: (null) (errno=No such file or directory)

xcode-select: Failed to locate 'git', requesting installation of command line developer tools.

Any help to solve this issue would be great.
Post marked as unsolved Up vote post of sbezverk Down vote post of sbezverk
6.6k views

20 Replies

Same issue. Literally every time I run a Big Sur update, the xcode command line tools are gone after the update.

What even is going on?
Has anyone filed a bug about this (per my request a few weeks back)? If so, what was the bug number?

I ran this past DTS’s tools specialist and it’s not something we’re tracking. A bug number might let me find more info.

Share and Enjoy

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

Has anyone filed a bug about this …?

It turns out that, while no one posted a bug number here, lots of folks have file a bug about this (r. 73410925). This is clearly a real problem but, alas, I have no info to share as to when it’ll be resolved.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Same here, after every update on Big Sur I need to run xcode-select --install to reinstall the command line tools. Feels like this really shouldn't be an issue. It's quite annoying.
@eskimo,

Yes, I updated to Big Sur and I got the same issue. I have raised FB9077129 for your kind reference.