zoukankan      html  css  js  c++  java
  • xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun

    mac报错:
    
    xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
    
     
    
    场景:
    
    使用goland  debug模式运行go代码main方法时,报以上错误,初步分析是xcode 组件缺失了
    
    包括一些其他场景如运行git命令等也有可能出现此错误
    
    解决方法:
    
    打开命令终端运行
    
    xcode-select --install
    回车后,系统弹出下载xcode组件,点击确认,下载完成后即可。
    
    mac中很多软件都需要依赖xcode的先关组件。

  • 相关阅读:
    sort()
    type()
    reverse()
    pop()
    remove()
    max()
    len()
    Ext.Js核心函数( 三)
    聚簇索引和非聚簇索引区别
    Ext.js入门(二)
  • 原文地址:https://www.cnblogs.com/sea-stream/p/12204995.html
Copyright © 2011-2022 走看看