提问人:Tuent Farst 提问时间:1/2/2023 更新时间:1/2/2023 访问量:47
如何解决flutter iOS框架错误?
how to solve flutter iOS framework error?
问:
在 iOS 模拟器上在 flutter 中运行应用程序时,出现此错误
** BUILD FAILED **
Xcode's output:
↳
Writing result bundle at path:
/var/folders/_q/npnlj1jx73dbftdw4k23clvm0000gn/T/flutter_tools.laUDdB/flutter_ios_build_temp_dirp6AQZ0/temporary_xcresult_bundle
ld: framework not found Flutter
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Building targets in dependency order
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')
warning: Run script build phase 'Thin Binary' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')
Result bundle written to path:
/var/folders/_q/npnlj1jx73dbftdw4k23clvm0000gn/T/flutter_tools.laUDdB/flutter_ios_build_temp_dirp6AQZ0/temporary_xcresult_bundle
Error (Xcode): Framework not found Flutter
Could not build the application for the simulator.
Error launching application on iPhone 14 Pro Max.
Exited
我尝试了 flutter clean 和 flutter pub get,但没有任何改变
答: 暂无答案
上一个:由于出现错误消息,实验无法运行
下一个:如何初始化相互依赖的属性
评论