问题描述
我刚刚下载了 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 deintegrate
和 pod 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/5987 和 https://github.com/CocoaPods/CocoaPods/问题/9902.