【发布时间】:2021-06-29 18:58:48
【问题描述】:
我正在编写一个基于 Flutter 的应用程序。我使用 Firebase Firestore 作为数据库。我在 pubspec.yaml 中添加了 cloud_firestore 作为依赖项。当我为 android 构建 apk 时,它工作得非常好,但是在 Xcode 中,当我尝试为 iOS 构建应用程序时,我有一个错误(附加图片)'Module cloud_firestore' not found,所有其他依赖项都在工作。我已经尝试了所有方法:pod 安装、pod 更新、删除 Podfile、删除 Podfile.lock,我什至创建了一个空白应用程序并添加了 cloud_firestore 作为依赖项,但它仍然会发生。
【问题讨论】:
-
你可以在这里添加你的 podfile 吗?
标签: firebase flutter google-cloud-firestore