转载自: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
本文介绍了在 Mac 系统中使用 Xcode 进行编译时遇到的一个常见错误:“xcrun:error:activedeveloperpath不存在”。该文提供了一个简单的命令行解决方案,通过使用 xcode-select 命令来指定正确的 Xcode 开发路径。

被折叠的 条评论
为什么被折叠?



