首页 > 其他 > 详细

xcode卸载后导致git/make异常

时间:2020-05-04 14:56:00      阅读:40      评论:0      收藏:0      [点我收藏+]

问题

xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist
Use sudo xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools, or use xcode-select --install to install the standalone command line developer tools.
See man xcode-select for more details.

方法

可以通过xcode-select命令来重置系统默认的CommandLineTools路径,如下

解决方案:

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

xcode卸载后导致git/make异常

原文:https://www.cnblogs.com/shengulong/p/12826246.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!