Flutter - Xcode 项目定义方案:Flutter Assemble、Runner

tow*_*hid 3 macos dart swift flutter

从 android studio 运行时,我遇到了这个错误。

Launching lib/main_staging.dart on macOS in debug mode...
Running pod install...

The Xcode project defines schemes: Flutter Assemble, Runner
Exception: You must specify a --flavor option to select one of the available schemes.
Run Code Online (Sandbox Code Playgroud)

在 MacOS 上运行应用程序的正确方法是什么?

Sol*_*rku 5

将确切的 xcode 方案名称添加到编辑配置中的构建风格中,如下所示

在此输入图像描述

在此输入图像描述