I am trying to add Firebase into my project. I just added below pods into my Xcode project.
pod 'Firebase'
pod 'Firebase/Core'
pod 'Firebase/Messaging'
pod 'Firebase/Database'
pod 'Firebase/Auth'
After installing podfile, I try to import firebase into my project. But it gives me an error that Firebase.h is not found.
Above issue will occur when I uncheck the Run script only when installing
from [CP] Check pods Manifest.lock
. After that I will installed pod using pod install
. And then issue will occur.
Error which I got after uncheck the checkbox:
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
I had the same issues on my project,
I wrote manually link the project and its libraries to solve the problem I followed this link steps it worked https://github.com/invertase/react-native-firebase-docs/blob/master/docs/installation/ios.md
Also, you must check you link binary with libraries on your Xcode project.
Another solution you can delete all pod depend on libs then you pod init
add manual pod libs after pod install
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