×

ios

iOS xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun

临 发表于2024-03-28 浏览4015 评论0
1.问题描述 今天执行一个shell脚本的时候报错,我脚本里面有使用到git的一些操作,错误信息如下: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 我也是第一次遇到这种问题,就去网上查了一下,基本都是说执行以下命令的 xc