Mac flutter 安装~ CocoaPods installed but not initialized.

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/weixin_30512027/article/details/102743607

1, download android studio

2, under the flutter sdk download network can Quguan

3, in the studio plug-in configuration and installation flutter flutter sdk

4, running flutter doctor

5, follow the prompts to install the plug

6, there is no problem other then CocoaPods been prompted not initialized with a variety of operations did not

Warning: CocoaPods installed but not initialized. Skipping pod install.
  CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
  Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
  For more info, see https://flutter.dev/platform-plugins
To initialize CocoaPods, run:
  pod setup
once to finalize CocoaPods' installation.

Finally found locally and not download files directly from the git:

cd ~ / .cocoapods / rest

git clone https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git master

Guess you like

Origin blog.csdn.net/weixin_30512027/article/details/102743607