capacitor-community / fcm

Enable Firebase Cloud Messaging for Capacitor apps
https://capacitor.ionicframework.com/docs/
MIT License
237 stars 83 forks source link

FirebaseCoreDiagnostics Compile Error #102

Open rakeshar3796 opened 2 years ago

rakeshar3796 commented 2 years ago

Created a new React project and included capacitor dependencies and tried to run the app for IOS worked fine.

But when I add @capacitor-community/fcm with version 2.0.2, I got the below error while building it

Lexical or Preprocessor Issue Double-quoted include "pb.h" in framework header, expected angle-bracketed instead

Parse Issue Could not build module 'nanopb'

Version used - 2.0.2

Screenshot

Screenshot 2021-10-23 at 8 41 28 PM

Can someone help on this?

flambeaux commented 2 years ago

Same issue. Where I'm running OS 12.0.1 and Xcode 13

jordodev commented 1 year ago

Was there a fix / update that addresses this?

Still happens for me on v3.02 with Capacitor 4.6.1 on Xcode 14.2.

FYI a dodgy workaround is outlined in https://github.com/firebase/firebase-ios-sdk/issues/5987