Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 12 using Firebase pods. Lexical or Preprocessor issue. "pb.h' file not found with <angled> include; use "quotes" instead"?

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

enter image description here

like image 282
Josh Allen Avatar asked Aug 29 '20 11:08

Josh Allen


2 Answers

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

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

enter image description here

More details in https://github.com/firebase/firebase-ios-sdk/issues/5987 and https://github.com/CocoaPods/CocoaPods/issues/9902.

like image 100
Paul Beusterien Avatar answered Nov 18 '22 14:11

Paul Beusterien


I fixed it by using the pre-release of cocoapods

sudo gem install cocoapods --pre

and then doing an update

pod install --repo-update

like image 22
lorem ipsum Avatar answered Nov 18 '22 13:11

lorem ipsum