无法从终端运行Xcode

时间:2019-06-26 07:31:45

标签: xcode terminal

键入时:

$xed .

显示以下错误:

/Library/Developer/CommandLineTools' is a command line tools instance
MacBook-Pro-de-XXXXXX:iOSApp uuuuuuu$ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

1 个答案:

答案 0 :(得分:-1)

在终端上安装Xcode类型后:

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer