小编Kau*_*ore的帖子

CocoaPods 未安装。跳过 Pod 安装

我的应用程序运行良好,直到我做了 2 个小更改。

  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:OpenJDK 64 位服务器 VM by JetBrains sro macOS 12.0.1 GC:G1年轻一代、G1 老一代内存:1280M 核心:4 注册表:external.system.auto.import.disabled=true 非捆绑插件:Dart (211.7798)、org.jetbrains.kotlin (211-1.6.10-release-923 -AS7442.40), io.flutter (63.2.2)

之后,当我在 iOS 模拟器上运行我的 flutter 应用程序时,我收到此错误。虽然我已经禁用了位码并再次尝试。我得到了同样的错误。我安装并重新安装了 cocapoads 还是同样的错误。我不知道是什么原因导致这个错误。你能帮我吗?请

 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 …
Run Code Online (Sandbox Code Playgroud)

ios cocoapods android-studio flutter

35
推荐指数
4
解决办法
1万
查看次数

CDN: trunk 相对路径:CocoaPods-version.yml 存在!返回本地,因为检查仅在存储库更新中执行

我尝试了几种解决方案:

\n
    \n
  1. 删除 podfile.lock 并使用 pod install --repo-update 重建
  2. \n
  3. 删除所有 pod 文件并从头开始设置 pod
  4. \n
  5. 在我的目标“Runner”之前源“https://cdn.cocoapods.org/”
  6. \n
\n

但没有任何效果。需要帮忙!

\n

仅当我尝试从 UI 打开 Android Studio 时才会出现此错误。当我从终端打开 Android Studio 时,不会发生此错误。

\n

我目前正在使用 Android Studio Bumblebee | 2021年1月1日

\n

我的播客文件:

\n
# Uncomment this line to define a global platform for your project\nplatform :ios, '10.0'\n\n# CocoaPods analytics sends network stats synchronously affecting flutter build latency.\nENV['COCOAPODS_DISABLE_STATS'] = 'true'\n\nproject 'Runner', {\n'Debug' => :debug,\n'Profile' => :release,\n'Release' => :release,\n}\n\ndef flutter_root\ngenerated_xcode_build_settings_path = File.expand_path(File.join('..',  'Flutter',     'Generated.xcconfig'), __FILE__)\nunless …
Run Code Online (Sandbox Code Playgroud)

ios dart cocoapods android-studio flutter

5
推荐指数
1
解决办法
4754
查看次数

标签 统计

android-studio ×2

cocoapods ×2

flutter ×2

ios ×2

dart ×1