React-native-firebase: [!] No podspec found for `RNFirebase` in `../node_modules/react-native-firebase/ios`

Created on 5 Dec 2019  路  8Comments  路  Source: invertase/react-native-firebase

[!] No podspec found for RNFirebase in ../node_modules/react-native-firebase/ios

"@react-native-firebase/app": "^6.1.0",
"@react-native-firebase/messaging": "^6.1.0",

"react": "16.8.6",
"react-native": "0.60.5",

Most helpful comment

Try

pod 'RNFirebase', :path => '../node_modules/react-native-firebase/ios'

All 8 comments

Try

pod 'RNFirebase', :path => '../node_modules/react-native-firebase/ios'

Thanks @geek-ibrar !

@geek-ibrar Works like charm!

This solution doesn't work for me. This error is still appearing

No podspec found forRNFirebasein../node_modules/react-native-firebase/ios`

@juanpestana96 this script generates a fully working demo, it compiles fine on ios - something is wrong with your project's react-native + firebase integration https://github.com/mikehardy/rnfbdemo/blob/master/make-demo.sh

Thank you @mikehardy. I was doing something wrong on my project, after all it worked :)

Try

pod 'RNFirebase', :path => '../node_modules/react-native-firebase/ios'

Thank you @geek-ibrar .. It worked for me...Thank you very much...

That may work around whatever the root cause is, but it is an anti-pattern. There is no reason to do that if auto-linking is working correctly and your packages are current, that I know of. We have no reproduction of how to create the problem though, so root cause for your project is unknown

Was this page helpful?
0 / 5 - 0 ratings