当系统中有多个版本的 Xcode 时,可以使用‘xcode-select’工具选择默认版本例:sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer