相关疑难解决方法(0)

Flutter 运行 - 无法构建 iOS 应用程序 - 命令 PhaseScriptExecution 失败,退出代码非零

flutter run.

这是控制台输出的图像版本flutter doctor -v

运行 flutter run 给我:

'''下载 ios 工具... 7.8s 下载 ios-profile 工具... 5.5s 下载 ios-release 工具... 34.0s 在调试模式下在 iPhone SE(第二代)上启动 lib/main.dart...

警告:缺少构建名称 (CFBundleShortVersionString)。警告:缺少内部版本号 (CFBundleVersion)。需要采取的行动:在提交到 App Store 之前,您必须在 pubspec.yaml 文件版本字段中设置构建名称和编号。运行 pod install... 9.3s 运行 Xcode 构建...

Xcode 构建完成。89.9s 无法构建 iOS 应用程序 Xcode 构建的错误输出:?** 构建失败 **

Xcode 的输出:../.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.4/lib/src/picture_stream.dart:88:26: 错误:未找到类型“DiagnosticableMixin”。带有 DiagnosticableMixin 的 PictureStream 类 { ^^^^^^^^^^^^^^^^^^^ ../.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.4/lib/src/图片流.dart:192:44:错误:未找到类型“DiagnosticableMixin”。抽象类 PictureStreamCompleter 与 DiagnosticableMixin { ^^^^^^^^^^^^^^^^^^^ ../.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.4/lib/src /picture_stream.dart:88:7: 错误:类型“DiagnosticableMixin”不能混入。带有DiagnosticableMixin 的PictureStream 类{ ^ ../.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.4 /lib/src/picture_stream.dart:192:16: 错误:不能混合类型“DiagnosticableMixin”。抽象类 PictureStreamCompleter with …

xcode ios visual-studio-code flutter flutter-run

16
推荐指数
1
解决办法
7819
查看次数

标签 统计

flutter ×1

flutter-run ×1

ios ×1

visual-studio-code ×1

xcode ×1