Flutters video_editor 示例的 Pod 安装失败

Pod install fails for Flutters video_editor example

我可以克隆 运行 flutter video_editor https://github.com/seel-channel/video_editor iPhone 和 Android .

但是,如果我复制其示例部分,它在 Android 中有效,但在 iPhone(物理)中无效。 Ipod 安装失败。请参阅随附的屏幕截图。

我使用所有相同版本的所有内容,示例部分和克隆部分。

播客文件 平台:ios,'9.3'

pubsec.yaml video_editor: 路径:^1.8.0 帮手:^1.1.1 image_picker:^0.8.4 video_player: ^2.2.6

macOS 蒙特雷 版本 12.1 xCode 版本 13.1

对我有用。

我从视频编辑器下载示例。

然后在 pubspec.yaml 文件中我更改了以下内容

  # video_editor:
  #   path: ../
  video_editor: ^1.2.2

然后我触发命令 flutter pub getpod install 它得到了你想要的同样的错误。

然后在我将 pod 文件中的 platform :ios, '9.3' 更改为 platform :ios, '12.1' 并将目标中的部署信息 9.0 更改为 12.1 之后(如下图所示)然后触发命令 pod install 并且工作正常。