xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Deve
时间:2015-12-18 21:03:57
收藏:0
阅读:1152
以上错误是因为安装了 xcode , 但并不是系统默认的位置, 所以可以使用以下命令把 xcode 的路径修改为你安装的位置即可
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
红色部分就是你安装的 xcode 的自定义路径.
原文:http://www.cnblogs.com/debmzhang/p/5057896.html
评论(0)