xcrun:错误:无法统计活动的Xcode路径'/Volumes/Xcode/Xcode45-DP1.app/Contents/Developer'. (没有这样的文件或目录) [英] xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode45-DP1.app/Contents/Developer'. (No such file or directory)
问题描述
我整天都在把头撞在桌子上,试图解决这个问题!
I've been beating my head against the desk all day trying to fix this!!!
我已经按照建议的此处尝试了建议的xcode-select -switch /path/to/xcode/
,但是它仍然给了我错误!
I have tried the suggested xcode-select -switch /path/to/xcode/
as suggested here but it still gives me this error!
我现在已经完全删除了XCode 4.4和命令行工具,并且运行xcrun
仍然会给我这个错误!
I have now completely removed XCode 4.4 and the command line tools as well, and running the xcrun
still gives me this error!
即使安装Xcode的新副本和命令行工具也会产生此错误!
Even installing a new copy of Xcode and the command line tools produces this error!!
命令结果..
sh-3.2# xcode-select -print-path
/Applications/Xcode.app/Contents/Developer
sh-3.2# xcrun -find
xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode45-DP1.app/Contents/Developer'. (No such file or directory)
推荐答案
最终有效的解决方案是重新安装10.8,重新安装Xcode,然后重新安装命令行工具.
The solution that finally worked was by reinstalling 10.8, reinstalling Xcode, and then reinstalling the command line tools.
这篇关于xcrun:错误:无法统计活动的Xcode路径'/Volumes/Xcode/Xcode45-DP1.app/Contents/Developer'. (没有这样的文件或目录)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!