MAC升级后Jenkins报错/Developer/CommandLineTools/usr/bin/xcrun missing

mac系统升级到macOS Sierra后导致jenkins服务无法启动,查看日志提示:/Library/Developer/CommandLineTools/usr/bin/xcrun missing,如何解决呢?

mac下报错 xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun missing

如题mac下遇到错误:

解决办法:安装mac的命令行工具CommandLineTools
执行如下命令即可:

xcode-select --install

the end

热门文章