ios - 如何将 Flutter 插件架构从 arm64 切换到 armv7
问题描述
当我尝试降低我的颤振应用程序的部署目标(iOS 12 到 9.3)时,我在运行时收到此错误flutter build ios
:
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===
fatal error: lipo: -extract armv7 specified but fat file:
/Users/xxx/development/myapp/build/ios/Release-iphoneos/Runner.app/Frameworks/flutter_webview_plugin.framework/flutter_webview_plugin does not contain that architecture
Failed to extract armv7 for /Users/xxx/development/myapp/build/ios/Release-iphoneos/Runner.app/Frameworks/flutter_webview_plugin.framework/flutter_webview_plugin. Running
lipo -info:
Architectures in the fat file: /Users/xxx/development/myapp/build/ios/Release-iphoneos/Runner.app/Frameworks/flutter_webview_plugin.framework/flutter_webview_plugin are:
arm64
我无法找到有关如何更改相关架构的任何信息 - 我什至可以这样做吗?或者这是插件开发人员必须构建的东西?
我希望能够以尽可能低的 iOS 版本运行该应用程序,以获得最大的兼容性。
解决方案
推荐阅读
- c++ - 从 Windows 2008 服务器上的服务产生的进程打印
- java - android - 滑动按钮找不到属性的资源标识符
- c# - ModelState Validation - actionresult 触发两次
- android - 如何在 webview 内容下方放置图像滑块?
- powershell - 出错时跳过部分脚本
- laravel - 多态 Laravel 审计包 - 检索多态审计
- swift - 展开后改变 SCNNodes 的位置
- javascript - D3 从最右边的字符开始对齐轴左侧的文本
- node.js - 节点服务器和 npm 未在 AWS 的 Windows 12 EC2 实例上运行
- java - Firebase 在多个节点中检索多个对象