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

后端 未结 9 2010
轻奢々
轻奢々 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:44

    In my case, I had uninstalled Xcode and then issues with git cli started. I solved the problem running the following commands:

    $ sudo xcode-select -r
    $ sudo xcode-select --switch /Library/Developer/CommandLineTools
    

    and then validating new path with:

    $ sudo xcode-select -p
    

    Hope this helps!

提交回复
热议问题