目标C项目中的firebase集成问题

发布于 2025-02-04 19:22:03 字数 1147 浏览 3 评论 0原文

我正在尝试将Firebase集成到目标C项目中,当我进行 pod安装面向以下问题时。我的项目也有自定义库。

以下是我的.podspec和Pod文件。

”在此处输入图像描述

要解决上述问题,我添加了“ use_modular_headers!”在我的POD文件中,并成功地进行了 POD安装

当我打开应用程序并试图编译时,我感到惊讶的是,我面临着现有的自定义库中的问题,这些库在应用程序中的firebase集成之前成功构建。

请检查以下文件以获取参考。

有人可以在这个问题上提供帮助吗?

提前致谢。

I'm trying to integrate firebase for cloud messaging(FirebaseMessaging) in my objective c project, when I do pod install facing below issue. My project is also having custom libraries.

enter image description here

Below are my .podspec and pod files.

enter image description here

enter image description here

to resolve above issue, I have added "use_modular_headers!" in my pod file and did pod install successfully.

enter image description here

when I open the app and trying to compile but I'm surprised that I have facing issues from my existing custom libraries which are successfully build before firebase integration in the app.

Please check the below file for the reference.
enter image description here

can anyone help on this issue?

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

吃颗糖壮壮胆 2025-02-11 19:22:03

添加use_frameworks!use_frameworks! :linkage => :静态到podfile。

Firebase 9放弃了对Cocoapods库集成的支持。

Add use_frameworks! or use_frameworks! :linkage => :static to the Podfile.

Firebase 9 dropped support for CocoaPods library integrations. More details in the release notes.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文