安装cocoapods后在root用户下出现一下提示 。
sh-3.2# pod --version
/Library/Ruby/Gems/2.0.0/gems/claide-0.6.1/lib/claide/command.rb:348:in `help!': [!] You cannot run CocoaPods as root. (CLAide::Help)
解决方案:
将当前用户从root切换至其他即可。
安装cocoapods后在root用户下出现一下提示 。
sh-3.2# pod --version
/Library/Ruby/Gems/2.0.0/gems/claide-0.6.1/lib/claide/command.rb:348:in `help!': [!] You cannot run CocoaPods as root. (CLAide::Help)
解决方案:
将当前用户从root切换至其他即可。