Flutter:虚拟机快照无效,无法根据设置推断

时间:2019-12-17 11:48:16

标签: flutter

我遇到了这个标题错误,并尝试了一些在Google上找到的解决方案,但是任何对我都不满意的解决方案。所以,请任何想法。 这是我的环境,xcode的输出,flutter doctor的输出以及已尝试的解决方案。

1。我的环境

  • 颤振通道稳定
  • Flutter版本:v1.12.13 + hotfix.5
  • Mac OS X 10.15.1 19B88
  • Dart 2.7.0

2。 Xcode的输出(调试结果)

2019-12-17 20:27:27.251231+0900 Runner[440:28699] <Warning>: The value for FacebookAdvertiserIDCollectionEnabled is currently set to FALSE so you're sending app events without collecting Advertiser ID. This can affect the quality of your advertising and analytics results.
2019-12-17 20:27:27.363201+0900 Runner[440:28921]  - <AppMeasurement>[I-ACS036001] Analytics screen reporting is disabled. UIViewController transitions will not be logged.
2019-12-17 20:27:27.540974+0900 Runner[440:28921] Creating client/daemon connection: *****
2019-12-17 20:27:27.559696+0900 Runner[440:28921] Got the query meta data reply for: com.apple.MobileAsset.MacinTalkVoiceAssets, response: 0
2019-12-17 20:27:27.567724+0900 Runner[440:28921] Consumed extension
2019-12-17 20:27:27.593857+0900 Runner[440:28921] Got the query meta data reply for: com.apple.MobileAsset.MacinTalkVoiceAssets, response: 0
2019-12-17 20:27:27.606097+0900 Runner[440:28699] [VERBOSE-2:dart_vm_data.cc(19)] VM snapshot invalid and could not be inferred from settings.
2019-12-17 20:27:27.606156+0900 Runner[440:28699] [VERBOSE-2:dart_vm.cc(245)] Could not setup VM data to bootstrap the VM from.
2019-12-17 20:27:27.606220+0900 Runner[440:28699] [VERBOSE-2:dart_vm_lifecycle.cc(89)] Could not create Dart VM instance.
2019-12-17 20:27:27.606398+0900 Runner[440:28699] [VERBOSE-3:shell.cc(212)] Check failed: vm. Must be able to initialize the VM.

3。扑医生结果

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.1 19B88, locale ja-JP)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.41.0)
[✓] Connected device (2 available)

• No issues found!

4。尝试过的解决方案

  • 发布版本 ->无法安装“项目名称”(未找到此可执行文件的有效配置文件。)
  • rm ~/Library/MobileDevice/Provisioning Profiles/* ->与上面相同的错误(在发行版中)
  • 调试版本 ->构建成功,但立即崩溃。 ->标题错误(VM快照无效...)
  • Xcode的产品>清理/清理生成文件夹 ->不变。

如果您有任何想法,请分享。预先感谢。

0 个答案:

没有答案