mac 命令行里 编译 链接 出现xcrun: error: active developer&nbs

来源:互联网 发布:python调用linux命令 编辑:程序博客网 时间:2024/05/23 00:10

转载自:http://blog.sina.com.cn/s/blog_4af978980102ef2w.html

mac cc 编译出现
xcrun: error: active developer path ("/Volumes/Xcode/Xcode.app/Contents/Developer") does not exist, use xcode-select to change
在命令行里输入
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

1 1
原创粉丝点击