无法在 iOS 模拟器上的 Android Studio 中运行 flutter 应用程序。安卓平板没问题

发布于 2025-01-20 09:48:21 字数 777 浏览 5 评论 0原文

在调试模式下在iPhone SE(第三代)上启动lib/main.dart ... 警告:已安装了可可录,但损坏了。跳过POD安装。 您似乎已安装了可可录,但行不通。 如果安装可可录的Ruby版本与用于调用它的版本不同。 这通常可以通过重新安装可可录来解决。 要重新安装请参见 https://guides.cocoapods.org/geting/getting/getting/getting/getting> -started.html#安装用于说明。

Cocoapods未安装或未处于有效状态。 在iPhone SE(第三代)上启动应用程序的错误。


我有很多事情:卸载所有可可录,然后sudo gem安装可可豆荚,

我在尝试不同的修复程序时也重新启动了很多次,但仍无法解决。

当我进行“ pod - version”时,它会返回错误: /library/ruby/gems/2.6.0/gems/cocoapods-1.11.3/gemfile找不到

我也做了“ ruby​​-version” 124 RUBY 2.6.8P205(2021-07-07修订版67951)[universal.arm64e-darwin21]

我正在使用Macair M1 Chip,2020年,Android Studio Bumblebee 2021.1.1补丁3 请帮忙!

Launching lib/main.dart on iPhone SE (3rd generation) in debug mode...
Warning: CocoaPods is installed but broken. Skipping pod install.
You appear to have CocoaPods installed but it is not working.
This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
This can usually be fixed by re-installing CocoaPods.
To re-install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

CocoaPods not installed or not in valid state.
Error launching application on iPhone SE (3rd generation).


I have many things: un-install all cocoapods, then sudo gem install cocoa pods

I have also restarted AS many times while trying different fixes, still not resolved.

when I do "pod --version" it returns error:
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/Gemfile not found

I also did "ruby --version"
124 ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]

I am using MacAir M1 chip, 2020, Android studio BumbleBee 2021.1.1 Patch 3
Please help!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文