[英]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.