例外:当配置文件颤动应用程序时,iPhone 11 Pro 不支持配置文件模式

Dol*_*hin 5 flutter

当我在 Android Studio 4.1.2 中以配置文件模式运行应用程序时:

\n

在此输入图像描述

\n

显示此错误:

\n
Exception: Profile mode is not supported for iPhone 11 Pro.\n
Run Code Online (Sandbox Code Playgroud)\n

为什么会发生这种情况以及我应该采取什么措施来解决它?这是我的环境:

\n
~/source/dabai/microservice/soa-illidan-hub on \xee\x82\xa0 feature/cardrobot \xe2\x8c\x9a 22:29:08\n$ ~/apps/flutter/bin/flutter doctor\nDoctor summary (to see all details, run flutter doctor -v):\n[\xe2\x9c\x93] Flutter (Channel stable, 1.22.6, on Mac OS X 10.15.7 19H114 darwin-x64, locale en-CN)\n\n[\xe2\x9c\x93] Android toolchain - develop for Android devices (Android SDK version 30.0.3)\n[\xe2\x9c\x93] Xcode - develop for iOS and macOS (Xcode 12.4)\n[!] Android Studio (version 4.1)\n    \xe2\x9c\x97 Flutter plugin not installed; this adds Flutter specific functionality.\n    \xe2\x9c\x97 Dart plugin not installed; this adds Dart specific functionality.\n[!] IntelliJ IDEA Community Edition (version 2020.3.2)\n    \xe2\x9c\x97 Flutter plugin not installed; this adds Flutter specific functionality.\n    \xe2\x9c\x97 Dart plugin not installed; this adds Dart specific functionality.\n[!] IntelliJ IDEA Ultimate Edition (version 2019.2.2)\n    \xe2\x9c\x97 Flutter plugin not installed; this adds Flutter specific functionality.\n    \xe2\x9c\x97 Dart plugin not installed; this adds Dart specific functionality.\n[\xe2\x9c\x93] VS Code (version 1.53.2)\n[\xe2\x9c\x93] Connected device (1 available)\n    ! Error: xiaoqiang \xe7\x9a\x84 iPhone is not connected. Xcode will continue when xiaoqiang \xe7\x9a\x84 iPhone is connected. (code -13)\n\n! Doctor found issues in 3 categories.\n
Run Code Online (Sandbox Code Playgroud)\n

使用命令也失败:

\n
~/Documents/GitHub/cruise-open on \xee\x82\xa0 feature/channel \xe2\x8c\x9a 22:42:08\n$ ~/apps/flutter/bin/flutter run --profile\nProfile mode is not supported by sdk gphone x86 arm.\n
Run Code Online (Sandbox Code Playgroud)\n

Oma*_*att 0

如果此问题同时出现在模拟器和物理设备上,则观察站端口可能会出现超时(如本线程所述) 。尝试升级您正在使用的 Flutter 版本,看看是否可以解决问题。如果问题仍然存在,请运行flutter run --profile --verbose以查看导致问题的更多详细信息。