Xcode 12 使用 Firebase pod.词法或预处理器问题.没有找到带有 <angled> 的 "pb.h' 文件包括;使用“引号"相反"? [英] Xcode 12 using Firebase pods. Lexical or Preprocessor issue. "pb.h' file not found with <angled> include; use "quotes" instead"?

查看:17
本文介绍了Xcode 12 使用 Firebase pod.词法或预处理器问题.没有找到带有 <angled> 的 "pb.h' 文件包括;使用“引号"相反"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚下载了 Xcode 12 beta 6.我已将 firebase 安装到项目中,但出现此错误.当我用建议更正它时,它会告诉我用原件再次更正.所有GoogleDataTransport"都会重复此错误.您可以将 Firebase 与 Xcode 12 beta 6 一起使用吗?我究竟做错了什么?谢谢

I've just downloaded Xcode 12 beta 6. I've installed firebase into the project and I get this error. When I correct it with the suggestion it then tells me to correct again with the original. This error is repeated for all 'GoogleDataTransport'. Can you use Firebase with Xcode 12 beta 6? What am I doing wrong? Thanks

推荐答案

更新到 CocoaPods 1.10,运行 pod deintegratepod install.

Update to CocoaPods 1.10, run pod deintegrate and pod install.

要在较早的 CocoaPods 版本中解决此问题,请禁用生成 Pods 项目构建设置中的 CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER 选项:

To work around in earlier CocoaPods versions, disable the CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER option in the generate Pods project Build Settings:

更多细节在 https://github.com/firebase/firebase-ios-sdk/issues/5987https://github.com/CocoaPods/CocoaPods/问题/9902.

这篇关于Xcode 12 使用 Firebase pod.词法或预处理器问题.没有找到带有 <angled> 的 "pb.h' 文件包括;使用“引号"相反"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆