I get multiple builtime errors regarding this, only on occasion, but typically when I close Xcode and reopen it after a while. I'm opening an xcworkspace file (since I have a couple pods installed, like FirebaseAnalytics and FirebaseAuth, to name a few), and I get errors about Lexical or Preprocessor Issue, in regards to pb.h in multiple files. Has anyone else seen issues like this? I'm building for an iPhone 11 Pro on Xcode 12 beta. Specifically, this I sharpening in nanopb-umbrella.h, pb_common.h, pb_decode.h, and consequently because these aren't failing, nanopb is not building, resulting in cct.nanopb.h not finding the module of nanopb.
I've tried reopening/closing the project, rebuilding the project and cleaning out the build folder, and doing a pod install, all to no avail.
For reference, here are the current pods im using, if it makes a difference:
Any help would be appreciated. Thank you in advance!
I've tried reopening/closing the project, rebuilding the project and cleaning out the build folder, and doing a pod install, all to no avail.
For reference, here are the current pods im using, if it makes a difference:
Code Block Firebase/Analytics Firebase/Auth BRYXBanner Firebase/Firestore
Any help would be appreciated. Thank you in advance!
I was able to resolve this; I believe the error was due to a corrupted pod, but I'm not sure how that happened.
Either way, the following process is how I resolved it, at least temporarily:
Either way, the following process is how I resolved it, at least temporarily:
Delete the Pods folder
Delete the Pod file
Rebuild your project (it will crash, since pod dependencies are expected, but can't be fulfilled)
pod install
clean build folder
rebuild again, and then this should get you in a semi-working state.