首页 > 其他 > 详细

c文件终端运行报xrun错误

时间:2015-07-18 15:24:41      阅读:197      评论:0      收藏:0      [点我收藏+]

在终端touch aa.c文件后,在c文件中写完代码(编译运行)cc aa.c时,

报xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist, use xcode-select to change

执行 sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer 即可解决。

另外,如果输入密码显示不出来,原因主要是mac电脑在保护你的隐私,其实已经输入了密码,只是看不出来输入了而已,你只需要输入自己的密码,点击enter键便可以了!

c文件终端运行报xrun错误

原文:http://www.cnblogs.com/2812570174mm/p/4656876.html

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