首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏一个会写诗的程序员的博客

    xcrun: error: invalid active developer path (LibraryDeveloperCommandLineTools), missing xcrun ...

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

    7.8K10发布于 2018-09-12
  • mac:xcrun: error: invalid active developer path (LibraryDeveloperCommandLineTools), missing xcrun

    结果报错了,如下 xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 报错来看,是Xcode command line tools丢失了 解决 我们先解决再看原因

    35700编辑于 2025-04-07
  • 来自专栏听Allen瞎扯淡

    解决mac升级10.11后,出现的 xcrun: error: invalid active developer path, missing xcrun 错误

    前天把小mac升级到了10.11,结果今天在终端里使用git的时候,弹出一行莫名其妙的错误:xcrun: error: invalid active developer path (/Library/Developer /CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

    1.5K00发布于 2018-09-10
  • 来自专栏芝麻实验室

    关于xcrun: error: invalid active developer path (LibraryDeveloperCommandLineTools), missing xcrun at: LibraryDeveloperCommandLineToolsusrbinxcrun

    问题现象 mu@xiaomudeMacBook-Pro ~ % swift --version xcrun: error: invalid active developer path (/Library /Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 解决方案

    2.5K10发布于 2019-10-15
  • 来自专栏智慧协同

    解决MacOS升级后出现xcrun: error: invalid active developer path, missing xcrun的问题

    今天升级macOS High Sierra,终端里使用git的时候,弹出一行莫名其妙的错误: xcrun: error: invalid active developer path (/Library /Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 解决方法

    1.8K10发布于 2019-06-13
  • 来自专栏大宇笔记

    xcrun: error: invalid active developer path (LibraryDeveloperCommandLineTools)

    xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 问题解决 以前往往是xcode 提示你去升级Command Line Tools,我们点一下就行。

    66410编辑于 2023-05-31
  • 来自专栏全栈全栈

    Mac 更新 Catalina 后 git 提示xcrun error

    Сannot Run Git xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 这是因为更新系统后会卸载xcode,重新安装后会缺失xcode的命令行工具( 第二种方法: cd /Library/Developer/CommandLineTools/usr/bin/ ll | grep "xcrun" 如果结果为空,则表示找不到。 执行: sudo ln -s /usr/bin/xcrun 第三种方法 在Git官网下载安装文件 或者重新安装 git

    1.4K10发布于 2020-03-17
  • 来自专栏流媒体音视频

    解决报错:xcrun: error: invalid active developer path (LibraryDeveloperCommandLine

    但是,完事发现了一个问题,git 不好用了,报错信息如下: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools ), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 截图如下: ​ 解决 上网很容易找到如下解决方法,执行命令

    7K00编辑于 2022-04-08
  • 来自专栏joealzhou

    Xcode 11 使用xcrun altool 密钥上传ipa包

    Xcode 11 使用xcrun altool 密钥上传ipa包 转载-原文地址 Xcode升级11之后,Apple为了更好的统一管理,发现打包上传的时候发现tools工具中没有Application Loader选项,推荐使用 xcrun altoos 或者 xcodebuild 上传应用程序。 一、使用xcrun 工具 ? 3.上传ipa包 验证: xcrun altool --validate-app -f xxx.ipa -t ios --apiKey xxx --apiIssuer xxx --verbose 验证ipa no errors validating.png 上传: xcrun altool --upload-app -f xxx.ipa -t ios --apiKey xxx --apiIssuer xxx

    2.7K20发布于 2019-11-04
  • 来自专栏杨焱的专栏

    xcrun: error: active developer path (“ApplicationsXcode.appContentsDeveloper”) does not exist

    mac下卸载了xcode,使用git等命令时就提示错误。invalid active path(Applications/Xcode.app/Contents/Developer),这种情况可以通过xcode-select –switch指定一个xcode安装路径,如果不想安装xcode,那么可以通过重置系统默认开发工具路径.

    64930编辑于 2021-12-07
  • 来自专栏易娃的杂货铺

    解决Mac下xcrun error invalid active developer path报错的问题

    最近Mac推送了最新的系统版本Ventura,在升级到该版本之后发现,在终端中使用git、python等命令的时候会报错,报错信息如下: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr /bin/xcrun 在网上搜索了下解决办法,这个问题可能是因为xcode的版本和新系统不兼容、不适配导致的,这个时候只需要更新一下xcode版本即可解决。

    4.6K10编辑于 2024-01-12
  • 来自专栏Java架构师历程

    mac执行git命令出现xcrun: error: invalid active developer path解决方法

    mac执行git命令时候出现: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 解决方法: 打开终端输入 xcode-select –install 回车后,系统弹出下载

    2.6K20发布于 2018-09-26
  • 来自专栏Albert陈凯

    mac执行git命令出现xcrun: error: invalid active developer path解决方法

    运行git clone的时候报错 xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 解决方法: 打开终端输入 xcode-select --install 回车

    9.2K70发布于 2018-04-04
  • 来自专栏贝塔博客

    macOS 提示找不到git命令

    提示错误: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 安装开发相关的包,在终端输入命令: xcode-select --install 然后会弹出一个对话框

    2.8K10发布于 2020-03-05
  • 来自专栏酷酷的哀殿

    Ruby 与 clang

    根据 xcrun 的帮助文件,我们可以发现,通过 xcrun 命令可以方便的调整不同系统对应的 SDKROOT 路径。 For example, if xcrun is used to invoke clang via: xcrun --sdk macosx clang test.c / 编译 macosx 项目 xcrun -l clang main.m 优化方案:xcrun 根据上面的信息,我们可以尝试使用 xcrun 调用安装命令: ? image-20201215012636981 通过截图,我们可以发现 xcrun rbenv install 2.7.2 命令组合可以安装 ruby。 总结 通过本文,我们可以得到以下经验:当因为标准库头文件缺失导致编译失败时,可以通过搭配 xcrun 完成编译任务。

    2.2K20发布于 2021-01-04
  • 来自专栏python爱好部落

    IOS自动化的那些经验

    截图 xcrun simctl io booted screenshot /pictures/test.png 录屏命令 xcrun simctl io booted recordVideo /videos xcrun simctl boot $UUIDxcrun instruments -w "iPhone 8(11.2)" 关闭模拟器 xcrun simctl shutdown $UUID 重置模拟器 xcrun simctl delete unavailable 安装指定app xcrun simctl install booted <app路径>ios-sim launch /Users/nali /Desktop/ting.app --devicetypeid iPhone-X, 11.2#多设备时xcrun simctl install <device> <app路径> 运行指定的app xcrun > 卸载指定应用 xcrun simctl uninstall booted <bundle identifer>#多设备时xcrun simctl uninstall <device> <bundle

    2.9K20发布于 2019-11-09
  • 来自专栏从头开始学习测试开发

    iOS命令行工具

    工具汇总 libimobiledevice:使用本机协议与 iOS 真机设备上的服务进行通信的开源包 ideviceinstaller:用于管理 iOS 设备上的应用程序和应用程序存档的命令行应用程序 xcrun ideviceinstaller -u [udid] --install [xxx.ipa]:给指定连接的设备安装应用 ideviceinstaller --uninstall [bundle id]:卸载指定应用 xcrun simctl 常用命令 xcrun simctl list:查看设备状态 xcrun simctl boot [UDID]:启动指定设备名称的模拟器 xcrun simctl shutdown [UDID ]:关闭指定设备名称的模拟器 xcrun simctl install <uuid> <app路径>:安装APP xcrun simctl launch <device> <bundle identifier

    3.1K20编辑于 2022-06-21
  • 来自专栏APP自动化测试

    iOS模拟器命令

    简介 可用通过xcrun simctl 和ios-sim来查看和管理iOS模拟器 xcrun simctl是Xcode自带的,ios-sim可用通过以下指令安装 npm install ios-sim 启动指定设备名称的模拟器 xcrun instruments -w "iPhone 7 (12.1)" 4. 关闭所有打开的模拟器 xcrun simctl shutdown all 7.重置模拟器(清除模拟器的数据和设置) xcrun simctl erase E66A26DD-2063-4FBE-9AE8- xcrun simctl install booted <app路径> 9.启动指定的app xcrun simctl launch <device> <bundle identifier> 如果只有一个设备时可以使用指令 xcrun simctl launch booted <bundle identifier>

    2.5K30发布于 2020-03-19
  • 来自专栏洞明学问

    Mac 上执行命令报错解决方案

    git mac 执行 git 命令时候出现 invalid active developer path : 具体如下: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin /xcrun 解决方法: 打开终端输入 xcode-select --install 回车后,系统弹出下载 xcode,点击确认,下载完成后即可。

    1.3K10发布于 2020-05-22
  • 来自专栏Jacklin攻城狮

    「类与对象」揭秘本质的第一步

    OC代码的转换过程 OC语言转化成C/C++的相关命令 需要使用的命令: xcrun -sdk iphoneos clang -arch arm64 -rewrite-objc main.m -o main.cpp 使用Xcode自带的命令:xcrun 选择指定编译平台(SDK):iphoneos,查看所有的支持的SDK,执行命令xcodebuild -sdks,结果如下: 查看支持的SDK 32bit(armv7),由于IPhone属于arm64架构,所以添加参数:-arch arm64 默认使用的是Clang编译器:需要使用clang相关命令 若想支持ARC,需要添加-fobjc-arc xcrun -arch arm64 -rewrite-objc -fobjc-arc main.m -o main.cpp 需要指定运行时的系统版本,可以添加-fobjc-runtime=ios-8.0.0 xcrun 关于xcrun命令使用掌握上述几种,就足以开发使用,其他用法还有很多就不在这一一介绍了。

    62210发布于 2019-12-26
领券