ios - Flutter iOS Xcode 构建抛出错误?
问题描述
我对 Xcode 还很陌生,不知道为什么我的构建失败了。以下是输出的一部分,我省略的部分只是关于弃用的警告。
ld: building for iOS Simulator, but linking in object file built for iOS, file '/Users/user/Documents/GitHub/bus/ios/Pods/GoogleMaps/Maps/Frameworks/GoogleMapsCore.framework/GoogleMapsCore' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in parallel
Could not build the application for the simulator.
Error launching application on iPhone 13.
Exited (sigterm)
我能做些什么来解决这个问题?我在 android 中构建我的应用程序没有问题。
解决方案
它适用于 iOS 14.4 模拟器,并且 Google 地图正确显示在应用程序上。(M1 机器)
推荐阅读
- powershell - PowerShell - 如何使用通配符获取环境变量值
- c# - 带有可空字段位置的 Linq 查询
- ansible - 使用 Ansible 计算磁盘空间
- kubernetes - Kustomize 卡住删除使用 PersistentVolumes 的 StatefulSets
- javascript - 使用 alphine.js 将类添加到单击的元素和父级
- python - 极限学习机 (ELM) 的交叉验证 (K-fold)
- google-sheets - 如何将条件格式复制到另一个单元格,以便自定义公式单元格变量根据您要粘贴到的单元格的位置进行更改
- javascript - Next.js - 如何在 *.module.css 中使用 postcss 功能?
- r - 分组,然后展开以添加新列
- google-sheets - Google 表格 - 某些单元格缺少边框