相关疑难解决方法(0)

macOS Mojave Update后,Git无法正常工作(xcrun:错误:无效的活动开发者路径(/ Library/Developer/CommandLineTools)

昨晚(2018年11月)我更新到macOS Mojave,

今天早上我在MacBook pro的Command line中导航到我的工作代码库,

在repo中键入"git status"并收到错误:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Run Code Online (Sandbox Code Playgroud)

git macos terminal xcode command-line

1190
推荐指数
27
解决办法
35万
查看次数

标签 统计

command-line ×1

git ×1

macos ×1

terminal ×1

xcode ×1