未安装CocoaPods。跳过Pod安装 [英] CocoaPods not installed. Skipping pod install

查看:43
本文介绍了未安装CocoaPods。跳过Pod安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用运行正常,直到我做了两处小更改。

  1. 在Xcode中的Target Runner上,我为项目启用了位码。
  2. 我将Android studio更新到最新版本。

Android Studio大黄蜂|2021.1.1 Build#AI-211.7628.21.2111.8092744,构建于2022年1月19日 运行时版本:11.0.11+0-b60-7590822 x86_64 VM:JetBrains s.r.o提供的OpenJDK 64位服务器VM。 MacOS 12.0.1 GC:G1年轻一代,G1老一代 内存:1280M 核心:4个 注册表:Exteral.system.auto.import.Disabled=true 非捆绑插件:DART(211.7798)、org.jetbrains.kotlin(211-1.6.10-Release-923-AS7442.40)、io.Ffltter(63.2.2)

之后,当我在iOS模拟器上运行颤动应用程序时,我收到这个错误。 虽然我已经禁用了Bitcode并再次尝试,但我收到了相同的错误。我安装和重新安装的cocapoad仍然是相同的错误。我不知道是什么导致了这个错误。你能帮忙吗?请

 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.

 CocoaPods not installed or not in valid state.
 Error launching application on iPhone 13.

推荐答案

更新:已在2021.1.1补丁1中修复see release notes here

这可能是因为AndroidStudio对~/.*rc文件(.bashrc.zshrc等)中提供的$PATH一无所知)

您可以通过终端启动来确保:

open /Applications/Android Studio.app

编辑:这是Bumblebee版本中已确认的错误

解决方法是添加缺少的标志:

chmod +x /Applications/Android Studio.app/Contents/bin/printenv

您只需做一次

这篇关于未安装CocoaPods。跳过Pod安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆