美文网首页
sourceTree切换xcode版本后报错'git statu

sourceTree切换xcode版本后报错'git statu

作者: 架构师的一小步 | 来源:发表于2023-01-02 17:39 被阅读0次

sourceTree 'git status' failed with code 129 - 简书 (jianshu.com)

image.png

今天使用早上用sourceTree 发现出现上这个错误,这主要是因为,我切换了xocde的版本导致的

我的sourceTree使用的是Xcode 10.2.1 版本的命令行工具
而我切换到 xcode 9.1 版本的命令行工具报错了.

这是因为最新版的sourceTree 不兼容 Xcode 9.1 版本的命令行.我们切换回去就可以了

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/

我的9.1 版本路径是sudo xcode-select -s /Applications/Xcode2.app/Contents/Developer/
我把工程拖到了应用程序中,命名Xcode2.app

作者:充满活力的早晨
链接:https://www.jianshu.com/p/88c088474d2d
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

相关文章

网友评论

      本文标题:sourceTree切换xcode版本后报错'git statu

      本文链接:https://www.haomeiwen.com/subject/drqkcdtx.html