推荐用sudo gem install cocoapods安装Cocoapods,但我已经习惯了使用Homebrew,并在其他地方看到人们使用brew install cocoapods安装Cocoapods当我尝试用Homebrew安装它时,我会收到以下警告:
Warning: Treating cocoapods as a formula.For the cask, use homebrew
我不能使用sudo安装cocoapods。我对这一切都是全新的,所以任何帮助都将不胜感激:)我试着查看mkmf.log,但我不能理解这个问题。我尝试使用admin帐户从终端授予用户权限,但我仍然面临安装cocoapods的主要问题。当我输入命令"sudo gem install cocoapods“时,我收到以下输出: Building native extensions. This could take a while..
我试图运行‘吊舱安装’或‘吊舱安装’,我得到一个错误,说:Update CocoaPods, or checkout the appropriate tag in the-0.31.1/lib/cocoapods/command.rb:51:in `run'
from /Library/Ruby/Gems/2.0.0&
这是完整的错误消息
Warning: CocoaPods minimum required version 1.9.0 or greater not installed.CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your pluginWithout CocoaPods, plugins will not work on iOS or macOS.CocoaPods not