xcrun: error: active developer path (“/Applications/Xcode.app/Contents/Developer”) does not exist

后端 未结 9 2006
轻奢々
轻奢々 2020-12-07 07:50

I\'m having xcode issues when I try to use brew and git:

xcrun: error: active developer path (\"/Applications/Xcode.app/Contents/Developer\") does not

9条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-07 08:46

    How about what the error suggests? Did you try that?

    xcode-select --switch /Applications/Xcode.app
    

    That should do the trick.

提交回复
热议问题