使用command + 空格键 调出聚焦搜索 输入 terminal.app(一般打头几个字母就联想出来了,比如输入“ter”)然后回车键入 terminal.app 输入xcodebuild -version,回车后便能看到Xcode版本 xcodebuild -version 如图所示