【问题标题】:Xcode Build and Run app works but Archive fails (Flutter)Xcode 构建和运行应用程序工作但存档失败(颤振)
【发布时间】: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


    【解决方案1】:

    已解决,我正在打开.xcodeproj,而我不得不打开.xcworkspace

    【讨论】:

      猜你喜欢
      • 2021-01-05
      • 1970-01-01
      • 1970-01-01
      • 2019-05-07
      • 2019-12-08
      • 1970-01-01
      • 2016-09-08
      • 1970-01-01
      • 2023-03-28
      相关资源
      最近更新 更多