【luajit,export有效】安装cocoapods时出现could not stat active Xcode path的解决办法
来源:互联网 发布:现在的网络电视哪种好 编辑:程序博客网 时间:2024/05/20 20:03
原文链接:http://blog.csdn.net/freedom2028/article/details/10242093
参考链接:http://stackoverflow.com/questions/11961032/xcrun-error-could-not-stat-active-xcode-path-volumes-xcode-xcode45-dp1-app-c
Solution #1 (affects all users)
xcode-select is the answer. You are either pointing at the wrong path or you are not doing it as a root user. Try this in Terminal:
sudo xcode-select -switch /Applications/Xcode.app
and then type your password.
Solution #2 (affects only you)
If
- you don't want to sudo, or
- you don't have superuser permissions, or
- solution #1 doesn't work
override the DEVELOPER_DIR environment variable instead:
export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer"
Optional: you can make this persist between login sessions by editing your .bash_profile file.
If neither solutions work, post your error message.
0 0
- 【luajit,export有效】安装cocoapods时出现could not stat active Xcode path的解决办法
- 安装cocoapods时出现could not stat active Xcode path的解决办法
- 安装cocoapods时出现could not stat active Xcode path的解决办法
- 安装lua提示xcrun: Error: could not stat active Xcode path的解决办法
- 安装cocoaPods出现错误error: active developer path ("/Volumes/Xcode/Xcode.app/Contents/Developer") does not
- Phonegap/Cordova编写跨平台-- iOS安装过程(错误 Error: could not start active Xcode path '/Volumes/Xcode/...)
- 重新安装xcode cocoapods出现 Could not find a valid gem 'cocoapods' (>= 0) in any repository
- 重新安装xcode cocoapods出现 Could not find a valid gem 'cocoapods' (>= 0) in any repository
- 安装、重装MySQL时,出现could not start the service mysql error:0的解决办法
- Xcode 4.5"Could not insert new outlet connection"的解决办法
- windows 下安装部分gem时出现 Could not create Makefile due to some reason 的解决办法
- 安装sql2012出现错误could not open key...解决办法
- U盘安装ubuntu 10.10,出现错误:Could not find kernel image 的解决办法
- 关于:MySQL 安装过程中出现“could not start the service mysql error:0”的解决办法。
- 安装VMware出现Error 1406:could not write value installpath to key的解决办法
- 出现“Xcode could not find a valid private-key/...”一种解决办法
- 使用CocoaPods时提示the command path could not be resolved问题
- Nexusphp/MTPT出现Could not connect的解决办法
- xcode路径引起的问题,使用xcode-select -print-path 显示后再使用Xcode-select -switch更改
- 使用jqMobi开发app基础:弹出内容的设计
- XCode调试技巧之EXC_BAD_ACCESS中BUG解决
- Asp.Net Word、Excel转PDF在线预览
- Oracle DBA高效入职指南学习篇九
- 【luajit,export有效】安装cocoapods时出现could not stat active Xcode path的解决办法
- js去掉字符空格
- JavaWeb:报错信息The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- 5 java构造器的解释和认识
- 极速体验,国产编程语言R++1.81内测版发布
- win7 关闭IE 弹窗和安全警报
- Error与Exception有什么区别
- Linux内核源码分析--内核启动命令行的传递过程(Linux-3.0 ARMv7)
- bitmap与2-bitmap使用总结