0
votes

I am getting the following error while running pod install for my react-native project. I tried running pod install --repo-update and pod repo update, but it didn't work for me.

[!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly": In Podfile: RNFBApp (from ../node_modules/@react-native-firebase/app) was resolved to 8.4.3, which depends on Firebase/CoreOnly (~> 6.30.0)

RNFBFirestore (from `../node_modules/@react-native-firebase/firestore`) was resolved to

7.8.2, which depends on Firebase/Firestore (~> 6.30.0) was resolved to 6.30.0, which depends on Firebase/CoreOnly (= 6.30.0)

RNFBRemoteConfig (from `../node_modules/@react-native-firebase/remote-config`) was resolved

to 6.7.1, which depends on Firebase/Core (~> 6.13.0) was resolved to 6.13.0, which depends on Firebase/CoreOnly (= 6.13.0)

CocoaPods could not find compatible versions for pod "Google-Maps-iOS-Utils": In Podfile: Google-Maps-iOS-Utils

react-native-google-maps (from `../node_modules/react-native-maps`) was resolved to 0.27.1, which

depends on Google-Maps-iOS-Utils (= 2.1.0)

CocoaPods could not find compatible versions for pod "GoogleMaps":
In Podfile: react-native-google-maps (from ../node_modules/react-native-maps) was resolved to 0.27.1, which depends on Google-Maps-iOS-Utils (= 2.1.0) was resolved to 2.1.0, which depends on GoogleMaps

react-native-google-maps (from `../node_modules/react-native-maps`) was resolved to 0.27.1, which

depends on GoogleMaps (= 3.5.0)

Can anyone give a possible solution to solve this?

1

1 Answers

0
votes

If you're sure you installed everything correctly and pod repo update doesn't work still, remove your Podfile.lock then do 'pod install' again.