安装cocoapods时出现could not stat active Xcode path的解决办法
来源:互联网 发布:怎么举报淘宝卖家盗用 编辑:程序博客网 时间:2024/05/20 19:33
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.
From:http://stackoverflow.com/questions/11961032/xcrun-error-could-not-stat-active-xcode-path-volumes-xcode-xcode45-dp1-app-c
- 安装cocoapods时出现could not stat active Xcode path的解决办法
- 【luajit,export有效】安装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的解决办法
- 10.2-5 用环形单链表来实现字典操作INSERT、DELETE和SEARCH,并给出它们的运行时间 算法导论答案
- 2013/08/23 C# WPF 学习笔记
- 我想现在开始研究php 可以吗
- 64位编程模型:为什么要使用LP64(二)
- fork() && fork() || fork()
- 安装cocoapods时出现could not stat active Xcode path的解决办法
- foreach语句使用总结
- UVA1456|LA4731------Cellular Network------带贪心的概率型DP
- ubutn 编译freerdp 转载 测试 成功
- iOS 下拉刷新
- 在skyeye上运行uclinux
- 电脑连接电视
- foreach语句的局限性
- 数组地址以及数组地址的地址