Yesterday I cleared the Derived data folder enitrely and started facing this error.
I tried :
pod deintegrate
and reinstall using pod install
Podfile.lock
filepod update
to update the podsMy podfile contains these Firebase pods:
pod 'Firebase/Core'
pod 'Firebase/Messaging'
pod 'Firebase/Firestore'
pod 'Firebase/Database'
But the error still remains. Anyone faced this error lately.
Simply explicitly import 'FirebaseMessaging' in your project, I had to call it explicitly to make it work.
import FirebaseMessaging
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With