Reply to xcrun: error: invalid active developer path I have been updating to Sonoma (14.0) and I found the same error. I just execute the xcode installation and use some cli tools that previously failed. xcode-select --install Developer Tools & Services Xcode Oct ’23