react-native-firebase icon indicating copy to clipboard operation
react-native-firebase copied to clipboard

CocoaPods could not find compatible versions for pod "Firebase/RemoteConfig"

Open ethanneff opened this issue 7 years ago • 5 comments

Problem Unable to run iOS after updating react-native-firebase from 6.0.4 to 6.1.0

Error

$ pod install
Adding a custom script phase for Pod RNFBApp: [RNFB] Core Configuration
Adding a custom script phase for Pod RNFBCrashlytics: [RNFB] Crashlytics Configuration
Detected React Native module pods for RNCAsyncStorage, RNDeviceInfo, RNFBAnalytics, RNFBApp, RNFBAuth, RNFBCrashlytics, RNFBFirestore, RNFBRemoteConfig, RNVectorIcons, appcenter, appcenter-analytics, appcenter-crashes, and react-native-netinfo
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Firebase/RemoteConfig":
  In snapshot (Podfile.lock):
    Firebase/RemoteConfig (= 6.8.1, ~> 6.8.1)

  In Podfile:
    RNFBRemoteConfig (from `../node_modules/@react-native-firebase/remote-config`) was resolved to 6.1.0, which depends on
      Firebase/RemoteConfig (~> 6.13.0)

Specs satisfying the `Firebase/RemoteConfig (= 6.8.1, ~> 6.8.1), Firebase/RemoteConfig (~> 6.13.0)` dependency were found, but they required a higher minimum deployment target.

Dependencies

    "@react-native-firebase/analytics": "6.1.0",
    "@react-native-firebase/app": "6.1.0",
    "@react-native-firebase/auth": "6.1.0",
    "@react-native-firebase/crashlytics": "6.1.0",
    "@react-native-firebase/firestore": "6.1.0",
    "@react-native-firebase/remote-config": "6.1.0",

ethanneff avatar Dec 02 '19 09:12 ethanneff

Try to update using the pod repo using pod repo update

vjayprem0622 avatar Dec 02 '19 10:12 vjayprem0622

Thanks. I'm currently trying to do this - but my internet is not the best right now so pod updates are not finishing. I'll report back once it completes

$ pod install --repo-update
Adding a custom script phase for Pod RNFBApp: [RNFB] Core Configuration
Adding a custom script phase for Pod RNFBCrashlytics: [RNFB] Crashlytics Configuration
Detected React Native module pods for RNCAsyncStorage, RNDeviceInfo, RNFBAnalytics, RNFBApp, RNFBAuth, RNFBCrashlytics, RNFBFirestore, RNFBRemoteConfig, RNVectorIcons, appcenter, appcenter-analytics, appcenter-crashes, and react-native-netinfo
Updating local specs repositories
...

ethanneff avatar Dec 02 '19 10:12 ethanneff

pod outdated

shinriyo avatar Sep 30 '20 06:09 shinriyo

I always come back to this post every time I don't touch an iOS project for a while...

pod repo update
pod deintegrate
rm Podfile.lock
pod install

Solves most of the mysterious problems with CocoaPods

n13 avatar Jan 24 '24 12:01 n13

I always come back to this post every time I don't touch an iOS project for a while...

pod repo update
pod deintegrate
rm Podfile.lock
pod install

Solves most of the mysterious problems with CocoaPods

thx this works

dieg0omni avatar Aug 07 '25 15:08 dieg0omni