gpt4 book ai didi

ios - 使用 React Native 构建 IOS : ld: framework not found FIRAnalyticsConnector

转载 作者:行者123 更新时间:2023-11-29 05:48:34 25 4
gpt4 key购买 nike

我正在将 Firebase 集成到我的 React Native 应用程序中,主要用于身份验证和 Firestore 数据库。尽管我按照 React Native Firebase 中的安装说明进行操作,当我尝试从 xcode 构建时,它给了我一个错误:

ld: framework not found FIRAnalyticsConnector clang: error: linker command failed with exit code 1 (use -v to see invocation)

我正在使用 Pod 来构建项目。有什么帮助吗?

最佳答案

我找到了问题的答案。它只是将 .framework 文件添加到链接的框架中。

即:

从 xcode 中,打开 Pods 文件夹,

**

Pods -> Pods -> FirebaseAnalytics -> Frameworks -> FIRAnalyticsConnector.framework

** enter image description here

并将该文件添加到常规 -> 链接框架和库中。 enter image description here

关于ios - 使用 React Native 构建 IOS : ld: framework not found FIRAnalyticsConnector,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55895349/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com