美文网首页
flutter 运行iOS项目报错解决方式

flutter 运行iOS项目报错解决方式

作者: 骑着雅迪小毛驴上班的老瞿 | 来源:发表于2022-09-26 08:54 被阅读0次
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 https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

Exception: CocoaPods not installed or not in valid state.

出现上面问题是我点击Android studio 上面面的运行按钮报错。使用命令或者使用vscode 不会出现这个问题,重启电脑,重启Adored studio 都无济于事,最后使用终端执行下面命令 再次点几运行按钮可以正常运行

cd ~/
open /Applications/Android\ Studio.app

有知道这是为什么的吗?

相关文章

网友评论

      本文标题:flutter 运行iOS项目报错解决方式

      本文链接:https://www.haomeiwen.com/subject/yoptartx.html