IDEA Import to Subversion Cannot import to svn:xcrun:error:invalid active developer path

在使用IDEA的”VCS” -> “Import into Version Control” -> “Import to Subversion…”的时候,选择一个git的地址,然后import, 点击“OK“的时候报如下错误:

Import to Subversion Cannot import to svn:xcrun:error:invalid active developer path
xcrun: error: invalid active developer path
(/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

解决办法是:
在终端中输入命令:
$ xcode-select –install

需要安装xcode,然后就OK了!

参照:https://stackoverflow.com/questions/32896524/invalid-active-developer-path-error-after-upgrading-to-el-capitan

你可能感兴趣的:(idea-2016,xcode)