Flutter The Dart VM Service was not discovered after 60 seconds.
更新系统配置好Flutter环境报错The Dart VM Service was not discovered after 60 seconds. This is taking much longer than expected... Open the Xcode window the project is opened in to ensure the app is running. If the app is not running, try selecting Product Run to fix the problem.解决办法之前运行项目使用flutter run改成使用flutter run --debug或flutter run --release就能正常跑起来项目。完整错误Running Xcode build... └─Compiling, linking and signing... 31.5s Xcode build done. 69.0s You may be prompted to give access to control Xcode. Flutter uses Xcode to run your app. If access is not allowed, you can change this through your Settings Privacy Security Automation. version3.6.2 (stable) (Wed Jan 29 01:20:39 2025 -0800) on ios_arm64 pid32757, thread259, isolate_groupvm-isolate(0x104034000), isolatevm-isolate(0x1043ed800) osios, archarm64, compno, simno isolate_instructions105ddb5a0, vm_instructions105ddb5a0 fp16f2e5470, sp16f2e5450, pc10682d87c pc 0x000000010682d87c fp 0x000000016f2e5470 Dart_DumpNativeStackTrace0x18 pc 0x00000001063deed0 fp 0x000000016f2e5490 dart::Assert::Fail(char const*, ...) const0x30 pc 0x00000001064da118 fp 0x000000016f2e5940 dart::Code::FinalizeCode(dart::FlowGraphCompiler*, dart::compiler::Assembler*, dart::Code::PoolAttachment, bool, dart::CodeStatistics*)0x82c pc 0x00000001065991e0 fp 0x000000016f2e5f50 dart::StubCode::Init()0x31c pc 0x0000000106429c48 fp 0x000000016f2e6a10 dart::Dart::DartInit(Dart_InitializeParams const*)0x2a9c pc 0x0000000106814328 fp 0x000000016f2e6a30 Dart_Initialize0x3c pc 0x0000000105ebeaf4 fp 0x000000016f2e7000 flutter::DartVM::Create(flutter::Settings const, fml::RefPtrflutter::DartSnapshot const, fml::RefPtrflutter::DartSnapshot const, std::_fl::shared_ptrflutter::IsolateNameServer)0x1d60 pc 0x00000001063957f4 fp 0x000000016f2e7760 flutter::Shell::Create(flutter::PlatformData const, flutter::TaskRunners const, flutter::Settings, std::_fl::functionstd::_fl::unique_ptrflutter::PlatformView, std::_fl::default_deleteflutter::PlatformView (flutter::Shell) const, std::_fl::functionstd::_fl::unique_ptrflutter::Rasterizer, std::_fl::default_deleteflutter::Rasterizer (flutter::Shell) const, bool)0x310 pc 0x0000000105ddf060 fp 0x000000016f2e84d0 -[FlutterEngine createShell:libraryURI:initialRoute:]0x934 pc 0x0000000105de6c4c fp 0x000000016f2e8540 -[FlutterViewController sharedSetupWithProject:initialRoute:]0x1cc pc 0x0000000105de6a58 fp 0x000000016f2e8570 -[FlutterViewController awakeFromNib]0x58 pc 0x00000001a36a5374 fp 0x000000016f2e8a40 redacted0x6dc pc 0x00000001a3c7b61c fp 0x000000016f2e8ab0 redacted0xec pc 0x00000001a3c7b4f4 fp 0x000000016f2e8ae0 redacted0x50 pc 0x00000001a3ad93e4 fp 0x000000016f2e8b40 redacted0x8c pc 0x00000001a2848a68 fp 0x000000016f2e8b80 redacted0xa8 pc 0x00000001a3ad8908 fp 0x000000016f2e8d70 redacted0x280 pc 0x00000001a30e1ea4 fp 0x000000016f2e8da0 redacted0x74 pc 0x00000001a278de94 fp 0x000000016f2e8df0 _UIScenePerformActionsWithLifecycleActionMask0x70 pc 0x00000001a30e2720 fp 0x000000016f2e8eb0 redacted0xfc pc 0x00000001a30e222c fp 0x000000016f2e8f20 redacted0xd4 pc 0x00000001a30e2538 fp 0x000000016f2e9030 redacted0x260 pc 0x00000001a30e1fc4 fp 0x000000016f2e90a0 redacted0xf4 pc 0x00000001a30ed444 fp 0x000000016f2e90e0 redacted0x94 pc 0x00000001a355fcec fp 0x000000016f2e91e0 redacted0x2e0 pc 0x00000001a278ecac fp 0x000000016f2e9250 _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion0xe0 pc 0x00000001a30ed140 fp 0x000000016f2e9350 redacted0x13c pc 0x00000001a2f2c3b4 fp 0x000000016f2e94a0 redacted0x268 pc 0x00000001a2f2b448 fp 0x000000016f2e9610 redacted0xd0 pc 0x00000001a2f2c020 fp 0x000000016f2e96d0 redacted0xf4 pc 0x00000001a3ad7968 fp 0x000000016f2e9790 redacted0x1dc pc 0x00000001a3588adc fp 0x000000016f2e9820 redacted0x120 pc 0x00000001bce50388 fp 0x000000016f2e99d0 redacted0x16c pc 0x00000001bce50840 fp 0x000000016f2e9a10 redacted0x80 pc 0x00000001bce501a0 fp 0x000000016f2e9ae0 redacted0x1b4 pc 0x00000001bcebeb34 fp 0x000000016f2e9ba0 redacted0x120 pc 0x00000001bce5df00 fp 0x000000016f2e9be0 redacted0xa8 pc 0x00000001bce7ad98 fp 0x000000016f2e9d30 redacted0x1e0 pc 0x00000001bce7c6fc fp 0x000000016f2e9dc0 redacted0x10c pc 0x00000001bce5df00 fp 0x000000016f2e9e00 redacted0xa8 pc 0x0000000102e522e0 fp 0x000000016f2e9e10 _dispatch_client_callout0x10 pc 0x0000000102e3c998 fp 0x000000016f2e9e60 _dispatch_block_invoke_direct0x128 pc 0x00000001b45441d4 fp 0x000000016f2e9e90 redacted0x34 pc 0x00000001b4544054 fp 0x000000016f2e9f10 redacted0xe0 pc 0x000000019cdc5f10 fp 0x000000016f2e9f20 redacted0x1c pc 0x000000019cdc5e84 fp 0x000000016f2e9f50 redacted0xac pc 0x000000019cda3acc fp 0x000000016f2e9fb0 redacted0xe8 pc 0x000000019cd7a6d8 fp 0x000000016f2ead10 redacted0x334 pc 0x000000019cd79a6c fp 0x000000016f2eada0 redacted0x214 pc 0x000000023e9a0498 fp 0x000000016f2eadf0 GSEventRunModal0x78 pc 0x00000001a2752df8 fp 0x000000016f2eae70 redacted0x318 pc 0x00000001a26fbe54 fp 0x000000016f2eaf00 UIApplicationMain0x150 pc 0x00000001a2827820 fp 0x000000016f2eaf40 redacted0x24c pc 0x0000000101daa114 fp 0x000000016f2eaf90 $sSo21UIApplicationDelegateP5UIKitE4mainyyFZ0x80 pc 0x0000000101daa084 fp 0x000000016f2eafc0 $s6Runner11AppDelegateC5$mainyyFZ0x2c pc 0x0000000101daa190 fp 0x000000016f2eafe0 __debug_main_executable_dylib_entry_point0x1c pc 0x0000000199d66e28 fp 0x000000016f2eb650 redacted0x1bcc -- End of DumpStackTrace Crash occurred when compiling unknown function in unoptimized JIT mode in unknown pass Flow Graph not available The Dart VM Service was not discovered after 60 seconds. This is taking much longer than expected... Open the Xcode window the project is opened in to ensure the app is running. If the app is not running, try selecting Product Run to fix the problem. Installing and launching... ⢿^C the Dart compiler exited unexpectedly. Installing and launching...
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2497846.html
如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!