【问题标题】:Error import framework ios (with Firebase Carthage) in project Flutter项目 Flutter 中的错误导入框架 ios(使用 Firebase Carthage)
【发布时间】:2020-04-23 08:57:44
【问题描述】:

我有一个快速的个人框架,其中包含 Firebase 通过 Carthage 添加的内容。该框架在其他原生应用程序 iOS 中完美运行。问题是当我尝试在 Flutter 项目中导入这个框架时。下一张图片显示了错误:

如果我删除这个框架,应用程序会显示多个错误,所以我认为我需要这个。下图显示了包含该库的所有框架:

我不知道我还能做些什么……有人可以帮帮我吗?

【问题讨论】:

    标签: swift firebase flutter frameworks carthage


    【解决方案1】:

    来自https://github.com/firebase/firebase-ios-sdk/blob/master/Carthage.md

    Please note that you shouldn't add any of the Firebase frameworks to the Carthage build phase (copy-frameworks). The frameworks contain static libraries that are linked at build time.

    【讨论】:

    • 最后,我解决了在所有 Firebase 框架中将参数“嵌入和签名”更改为“不嵌入”的问题。感谢您的回答保罗!
    猜你喜欢
    • 2019-05-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-07-05
    • 2022-12-31
    • 1970-01-01
    • 2020-01-02
    相关资源
    最近更新 更多