0
点赞
收藏
分享

微信扫一扫

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

Gaaidou 2021-09-29 阅读 63
mac下卸载了xcode,使用git等命令时就提示错误。invalid active path(Applications/Xcode.app/Contents/Developer),这种情况可以通过xcode-select --switch指定一个xcode安装路径,如果不想安装xcode,那么可以通过重置系统默认开发工具路径.
解决方案:

sudo xcode-select -r

xcode-select --switch /Library/Developer/CommandLineTools

xcode-select -p
举报

相关推荐

0 条评论