How can solve this issues? 'FirebaseMessaging.h' file not found
Asked Answered
C

3

5

How can solve this issues? 'FirebaseMessaging.h' file not found

where has problem?

I had tried to used pod install, but still issues.

enter image description here

enter image description here

Colonist answered 18/6, 2022 at 15:33 Comment(2)
It’s a good idea to include code, errors and and structures as text, not links and images. That way, if they are needed in an answer, they can be copied and pasted. See images and links are evil. Lastly, images are not searchable which may prevent future readers from locating the question. Also, take a look at No Images PleaseSnippy
Can you include: your podfile (as text please), what versions of Firebase, XCode and CocoaPods you're using. You may also be missing pod 'FirebaseCore'Snippy
P
0

I was facing the same issue, I have solved it by clearing CocoaPods cache and redownloading it.

Steps:

rm -rf "${HOME}/Library/Caches/CocoaPods"
rm -rf "`pwd`/Pods/"

Then go to the flutter project directory then,

cd ios
pod update

Then try to build/run the project.

Paulettepauley answered 23/6, 2023 at 8:15 Comment(0)
G
0

I solved this issue by just running command in terminal :

pod install
Groos answered 15/7, 2024 at 10:28 Comment(0)
C
-5

You can use this for importing the header file

#import "FirebaseMessaging.h"

Candace answered 18/6, 2022 at 17:59 Comment(1)
I had import it, I did not know why it show to me this errorColonist

© 2022 - 2025 — McMap. All rights reserved.