Flutter运行白屏现象 flutter : Failed to find assets path for "Frameworks/App.framework/flutter_assets"
程序员文章站
2022-06-01 21:11:05
...
运行报错
Xcode build done. 379,5s path: satisfied (Path is satisfied), interface: en0 Failed to find assets path for "Frameworks/App.framework/flutter_assets" Configuring the default Firebase app... Configured the default Firebase app __FIRAPP_DEFAULT. [VERBOSE-2:engine.cc(127)] Engine run configuration was invalid. [VERBOSE-2:shell.cc(437)] Could not launch engine with configuration. path: satisfied (Path is satisfied), interface: en0 Syncing files to device iPhone 11 Pro... dismiss = 1; "is_weak_match" = 1; } Syncing files to device iPhone 11 Pro... 17.068ms (!)
检查这三个文件是否存在
,如果不存在 在ios -> flutter -> 添加App.framework,Flutter.framework