简体   繁体   English

我正在运行 flutter 应用程序并收到此错误

[英]I am running flutter app and getting this error

Running "flutter pub get" in my_app... 362ms Launching lib/main.dart on iPhone 11 in debug mode... Running Xcode build...在 my_app 中运行“flutter pub get”... 362ms 在调试模式下在 iPhone 11 上启动 lib/main.dart... 运行 Xcode build...
└─Compiling, linking and signing... 1,375ms Xcode build done. └─编译、链接和签名... 1,375 毫秒 Xcode 构建完成。 6.7s Failed to build iOS app Error output from Xcode build: ↳ ** BUILD FAILED ** 6.7s 构建 iOS 应用程序错误 output 来自 Xcode 构建:↳ ** 构建失败 **

Xcode's output: ↳ ld: framework not found Flutter clang: error: linker command failed with exit code 1 (use -v to see invocation) note: Using new build system note: Building targets in parallel note: Planning build note: Constructing build description Xcode 的 output:↳ ld:未找到框架 Flutter clang:错误:linker 命令失败,退出代码为 1(使用 -v 查看调用)注意:使用新构建系统注意:并行构建目标注意:规划构建注意:构建构建描述

Try this试试这个

Delete the flutter folder at the FLUTTER PATH , and recopy the same path in the flutter folder.删除FLUTTER PATH中的 flutter 文件夹,并在 flutter 文件夹中重新复制相同的路径。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为 iOS 运行 flutter 项目时出现错误 - I am getting error while running the flutter project for iOS 为什么我在构建 IOS flutter 应用程序时出现应用程序图标错误? - Why I am getting app icon error while build IOS flutter app? 在 iOS Flutter 中构建版本时出现此错误 - I am getting this error when build release in iOS Flutter 为什么在运行PageViewController后出现此错误? - Why am I getting this error after running my PageViewController? 在 Flutter 中的 `ios` 模拟器上运行我的 flutter 项目时遇到错误(vs 代码) - I am experiencing an error when running my flutter project on `ios` simulator In Flutter (vs code) 在iTunes上上传应用程序时出现错误 - Getting error when i am uploading app on itunes 为什么我在iOS应用中收到EXC_ARITHMETIC错误? - Why am I getting an EXC_ARITHMETIC error in iOS app? . 为什么我收到错误消息? 构建一个 React 应用程序 - . Why I am getting an error message? Building a React App 将应用上传到设备时为什么会出现此错误? - Why am I getting this error when uploading app to device? 当我在 ios 模拟器上运行我的 flutter 项目时出现此错误:-ProcessException:进程超时: - I am getting this error when i run my flutter project on ios simulator:-ProcessException: Process timed out:
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM