Warning: CocoaPods not installed. Skipping pod install. 报错处理方法


发文时间:2022年06月22日 12:31:30     编辑:Aaron      标签:flutter bug 1248


警告:未安装CocoaPods。正在跳过pod安装。CocoaPods用于检索iOS和macOS平台端的插件代码,以响应Dart端的插件使用情况。

Android Studio 运行flutter程序在IOS上,昨天下班前还好好的,今天一来就不行了 报错原因如下

Warning: CocoaPods 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 will not work on iOS or macOS.
  For more info, see https://flutter.dev/platform-plugins
To install see  
#installation for instructions.

Exception: CocoaPods not installed or not in valid state.

处理方法

//在终端执行  
sudo gem install cocoapods

image.png

待执行完毕后 重启下IDE

image.png

 

若无特殊说明,此文章为博主原创。
写稿不易,如需转载,请注明出处: https://www.aaroner.cn/art/69.html




SITE MAP

  FOLLOW US