cocoapods错误You cannot run CocoaPods as root. (CLAide::Help)解决办法
2015-12-30 11:36
971 查看
安装好了Cocoapods却出现
其实这个错误原因已经显示的很清楚了,不能以roo身份运行, 那么退出你的root身份即可
或者先退出终端,再打开一次,即可运行
/Library/Ruby/Gems/2.0.0/gems/claide-0.9.1/lib/claide/command.rb:417:in `help!': [!] You cannot run CocoaPods as root. (CLAide::Help) Usage: $ pod COMMAND CocoaPods, the Cocoa library package manager. Commands: + cache Manipulate the CocoaPods cache + init Generate a Podfile for the current directory. + install Install project dependencies to Podfile.lock versions + ipc Inter-process communication + lib Develop pods + list List pods + outdated Show outdated project dependencies + repo Manage spec-repositories + setup Setup the CocoaPods environment + spec Manage pod specs + update Update outdated project dependencies and create new Podfile.lock Options: --silent Show nothing --version Show the version of the tool --verbose Show more debugging information --no-ansi Show output without ANSI codes --help Show help banner of specified command from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command.rb:44:in `run' from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/bin/pod:44:in `<top (required)>' from /usr/local/bin/pod:23:in `load' from /usr/local/bin/pod:23:in `<main>'
其实这个错误原因已经显示的很清楚了,不能以roo身份运行, 那么退出你的root身份即可
$ exit
或者先退出终端,再打开一次,即可运行
pod install
相关文章推荐
- 浅析 int main(int argc, char *argv[])
- smtp admin email 似乎可以考虑在
- Troubleshooting ‘RPC server unavailable’ 0x800706BA
- LR检查点的if (status == LR_FAIL)写法
- Failed to execute WebDAV PROPPATCH
- 有关adaboost中hartraining训练样本用来检测物体
- salt之grains组件
- symbol(s) not found for architecture x86_64 之 linker command failed with exit code 1 (use -v to see invocation)解决方案排查
- 【DP】BZOJ 1260: [CQOI2007]涂色paint
- Git之user.name&user.email配置的影响及修改+备份工作成果
- rails里routes配置文件里的resources和resource的区别
- LeetCode Contains Duplicate II(hash)
- 3D Constraints
- Level of detail
- 51NOD 1305 Pairwise Sum and Divide
- see 二分 again
- POJ-1273 Drainage Ditches 最大流Dinic
- POJ-1273 Drainage Ditches 最大流Dinic
- ORA-38760: This database instance failed to turn on flashback database 第三篇
- FZUoj 题目2216 The Longest Straight*(二分)