更新xcode 目录发生变化

来源:互联网 发布:网络校时器 编辑:程序博客网 时间:2024/05/22 13:46

mac下SVN工具versions老版本,在更新xcode后,比较文件的时候发现

  1. Error: No developer directory found at /Developer. Run /usr/bin/xcode-select to update the developer directory path.  

原因是由于xcode目录发生了变化,所以方法是在终端运行如下命令:

  1. sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer  
0 0