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

前端 未结 4 1502
天命终不由人
天命终不由人 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:19

    when I use git in the terminal:

    ErrorImage

    then I run it:

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

提交回复
热议问题