使用flutter
初始化项目后,在真机运行闪退,并在xcode
控制台出现以下错误:
xcode:11.3
ios:13.3.1
Flutter 1.12.13+hotfix.5 • channel stable •
Tools • Dart 2.7.0
dyld: Library not loaded: @rpath/Flutter.framework/Flutter
Referenced from: /private/var/containers/Bundle/Application/2E708D18-18F5-4D9C-871A-A65EDA5E8B78/Runner.app/Runner
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/2E708D18-18F5-4D9C-871A-A65EDA5E8B78/Runner.app/Frameworks/Flutter.framework/Flutter:
code signature invalid for '/private/var/containers/Bundle/Application/2E708D18-18F5-4D9C-871A-A65EDA5E8B78/Runner.app/Frameworks/Flutter.framework/Flutter'
/private/var/containers/Bundle/Application/2E708D18-18F5-4D9C-871A-A65EDA5E8B78/Runner.app/Frameworks/Flutter.framework/Flutter: stat() failed with errno=25
这个问题很多人遇到,话说不影响发布到商店使用;解决方法有这几种(未验证)
参考链接:
https://github.com/flutter/fl...