终端pod install安装框架时报错“xcrun: error: active developer path ("/Applications/Xcode 2.app/Contents/...”
来源:互联网 发布:r语言处理csv数据 编辑:程序博客网 时间:2024/05/22 03:10
- 错误描述
在Mac终端使用pod install –no-repo-update安装第三方框架时出现如下错误。
xcrun: error: active developer path ("/Applications/Xcode 2.app/Contents/Developer") does not exist, use `xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools (or see `man xcode-select`)
2.解决方法
在终端输入下述代码,问题得到解决。
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
本文参考如下文章:删除xcode路径问题
0 0
- 终端pod install安装框架时报错“xcrun: error: active developer path ("/Applications/Xcode 2.app/Contents/...”
- xcode 报错xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer/") does not
- iOS之xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") 错误处理
- Pod 出错 xcrun: error: active developer path
- 安装cocoaPods出现错误error: active developer path ("/Volumes/Xcode/Xcode.app/Contents/Developer") does not
- xcrun: error: active developer path ("/Users/apple/Desktop/Xcode5.app/Contents/Developer") does not
- xcrun: error: active developer path
- xcrun: error: active developer path ("..") does not exist, use `xcode-select --switch path/to/Xcode.
- xcrun: error: invalid active developer path 解决办法
- git xcrun: error: invalid active developer path
- xcrun: error: invalid active developer path
- 【OC错误】:fatal error: file '/Applications/Xcode 2.app/Contents/Developer/Platforms/MacOSX.platform/Dev
- xcrun: error: invalid active developer path, missing xcrun 错误;
- 关于mac中不能编译终端xcrun: error: active developer path
- Mac 升级git报错 - xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), mis
- fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Dev
- fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Dev
- fatal error: file '/Applications/Xcode 6.0.1.app/Contents/Developer/Platforms/iPhoneSimulator....
- QT里滚动字幕如何做
- linux 进程创建clone、fork与vfork
- CTF训练营-牛刀小试-啥?
- 杯酒人生
- [SolrCloud]yum安装时出现"Existing lock /var/run/yum.pid: another copy is running as pid..."
- 终端pod install安装框架时报错“xcrun: error: active developer path ("/Applications/Xcode 2.app/Contents/...”
- java实现直接插入排序
- pdo的用法
- C++11中std::function的使用
- the twelve factor app
- 线程的基本概念、线程的基本状态及状态之间的关系
- UVa - 1225 - Digit Counting(打表计算)
- POJ1007
- sql执行顺序