升级xcode4.4后遇到的问题

升级4.4后,文件合并的工具因为要调命令行,不能使用了。

看这个帖子的解决方法
http://leenjewel.blog.163.com/

也正是因为这个安装路径的变化导致需要更新 xcode-select 路径。当然想在终端下 make 编译,单独安装 Command line tools 也是必不可少的。安装玩 Command line tool 包后,只需在终端执行一下这个命令就可以了。

sudo /usr/bin/xcode-select  -switch  /Applications/Xcode/Contents/Developer/

我的情况是

sudo /usr/bin/xcode-select  -switch  /Applications/Xcode.app/Contents/Developer/

搞定。

但愿对大家有所帮助。

猜你喜欢

转载自lizhuang.iteye.com/blog/1622087
今日推荐