小编Gav*_*ett的帖子

在 iOS 模拟器中启动 Flutter 应用程序时出错

在 iOS 模拟器上启动 Flutter 应用程序时遇到问题。根据以下错误输出判断,该问题似乎与本地主机连接等有关,但我无法找到解决方法。

我正在运行 MacOS Catalina 版本 10.15.6 (19G73)。iOS 模拟器版本 11.6 (921.9.1)。VSCode 是我的 IDE。

该应用程序在 Android 模拟器上启动并运行良好。

以下是 VSCode 终端的错误输出:

Launching lib/main.dart on iPhone SE (2nd generation) in debug mode...
Running Xcode build...                                                  
 ??Compiling, linking and signing...                         6.7s
Xcode build done.                                           16.7s
Connecting to the VM Service is taking longer than expected...
Still attempting to connect to the VM Service...
If you do NOT see the Flutter application running, it might have crashed. The device logs (e.g. from …
Run Code Online (Sandbox Code Playgroud)

simulator ios visual-studio-code flutter

9
推荐指数
1
解决办法
3625
查看次数

标签 统计

flutter ×1

ios ×1

simulator ×1

visual-studio-code ×1