首页 > 解决方案 > 找不到框架flutter_plugin_android_lifecycle颤振

问题描述

以调试模式在 iPhone 11 上启动 lib/main.dart...运行 pod install...运行 Xcode build...Xcode build 完成。58.5s 无法构建 iOS 应用程序 无法为模拟器构建应用程序。在 iPhone 11 上启动应用程序时出错。Xcode 构建的错误输出:↳ ** BUILD FAILED **

Xcode 的输出:↳ ld: framework not found flutter_plugin_android_lifecycle 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

标签: flutter

解决方案


依赖项:flutter_plugin_android_lifecycle:^1.0.8

尝试使用它并再次安装 pod


推荐阅读