推荐用sudo gem install cocoapods安装Cocoapods,但我已经习惯了使用Homebrew,并在其他地方看到人们使用brew install cocoapods安装Cocoapods。当我尝试用Homebrew安装它时,我会收到以下警告:
Warning: Treating cocoapods as a formula. For the cask, use homebrew/cask/cocoapods
我想知道的是:
用sudo gem install cocoapods安装Cocoapods和用brew install cocoapods安装Cocoapods
我在MacOSX10.9.5上有更新Ruby、Gems和Cocoapods,更新后我无法执行命令
pod install
我从终端得到了下面的错误
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.2/lib/cocoapods/user_interface/error_report.rb:13:in `report': incompatible character encodings: UTF-8 and ASCII-8BIT (Encoding::CompatibilityError)
from /Library/Ruby/Gems/
我试着运行pod安装,它给出了以下错误
[!] Your Podfile requires that the plugin `cocoapods-keys` be installed. Please install it and try installation again.
当我尝试安装cocoapods-键时,使用以下命令,使用gem安装cocoapods-键-用户-安装
它告诉我它已经成功安装了
Successfully installed cocoapods-keys-2.2.1
Parsing documentation for cocoapods-keys-2.2.1
Done i
在更新Flutter 2之后,我无法再将我的应用程序部署到IOS上:
Warning: CocoaPods minimum required version 1.9.0 or greater not installed.
Skipping pod install.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code
that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins w
我只是尝试运行非常简单的Podfile,如下所示
pod 'AFNetworking', '~> 2.0'
pod 'ObjectiveSugar', '~> 0.5'
但是它会产生跟随错误。
[!] The `master` repo requires CocoaPods 0.32.1 -
Update CocoaPods, or checkout the appropriate tag in the repo.
/Library/Ruby/Gems/2.0.0/gems/claide-0.4.0/l