zoukankan      html  css  js  c++  java
  • Mac 升级后idea执行git命令报错xcrun: error: invalid active developer path的解决办法

    报错

     

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

     

    查询通用的做法是在terminal 执行:

    xcode-select --install

     

    由于macOS  升级,打开ieda 还是报错,上面的解决办法还是不行

    报错:

    下午3:57 Сannot Run Git
    xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

    就去git官网下载git https://git-scm.com/download/mac

    在手动安装git

    再在idea中配置git的地址:

    /usr/local/git/bin/git

     

  • 相关阅读:
    ruby 实现java中的aes 加密解密
    移动端手机端web页面中背景图固定问题
    hooks 组件对应的生命周期
    React 生命周期函数总结
    Sequelize 常用增删改查函数
    如何验证SSH的连通性
    如何生成SSH密钥
    如何查看本机ssh秘钥
    如何更改本地代码仓库指向
    如何发布npm 包
  • 原文地址:https://www.cnblogs.com/testway/p/9008254.html
Copyright © 2011-2022 走看看