运行vapor xcode时报错:
Could not generate Xcode project: error: terminated(72): xcrun --sdk macosx --find xctest output:
错误原因:xcrun 运行时所使用的开发目录配置错误。
在终端中输入:xcode-select -p,显示如下(该配置导致无法生成Xcode工程):
解决方案:在终端运行sudo xcode-select -s /Applications/Xcode.app/Contents/Developer。
关于xcode-select可以查看man xcode-select,这里只截取部分内容