macOS Mojave: invalid active developer path after updating to Mojave from High Sierra

前端 未结 4 1501
天命终不由人
天命终不由人 2021-02-05 23:15

After upgrading to macOS Mojave, I tried to run GIT from Terminal but it kept giving me the following error:

xcrun: error: invalid active developer path (

4条回答
  •  渐次进展
    2021-02-05 23:21

    This line worked for me. I had the same issue. Run it in the terminal.

    sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
    

提交回复
热议问题