【发布时间】:2021-07-16 02:48:06
【问题描述】:
正如标题所示,我的 Flutter 应用运行良好,使用 Xcode 构建它也可以运行,并且在设备上运行良好,但是当我尝试存档时,应用构建失败。
我将显示错误代码:
#if __has_include(<cloud_firestore/FLTFirebaseFirestorePlugin.h>)
#import <cloud_firestore/FLTFirebaseFirestorePlugin.h>
#else
@import cloud_firestore; //Error here
#endif
错误是:Module 'cloud_firestore' not found
这很奇怪,因为如果我在任何 iPhone 上使用 Xcode 构建应用程序,它构建并运行良好,我只有在归档时才会遇到这个问题。
有什么想法吗?
【问题讨论】:
标签: ios xcode flutter google-cloud-firestore