I added the firebase auth package then got an error in the ios podfile
[!] CocoaPods could not find compatible versions for pod "Firebase/Auth":
In Podfile:
Firebase/Auth
firebase_auth (from `.symlinks/plugins/firebase_auth/ios`) was resolved to 0.0.1, which depends on
Firebase/Auth (~> 6.3)
CocoaPods could not find compatible versions for pod "GoogleUtilities/Environment":
In Podfile:
firebase_auth (from .symlinks/plugins/firebase_auth/ios) was resolved to 0.0.1, which depends on
Firebase/Auth (~> 6.3) was resolved to 6.3.0, which depends on
FirebaseAuth (~> 6.1.2) was resolved to 6.1.2, which depends on
GoogleUtilities/Environment (~> 6.2)
google_mlkit_face_detection (from `.symlinks/plugins/google_mlkit_face_detection/ios`) was resolved to 0.4.0, which depends on
GoogleMLKit/FaceDetection (~> 3.1.0) was resolved to 3.1.0, which depends on
MLKitFaceDetection (~> 2.1.0) was resolved to 2.1.0, which depends on
MLKitCommon (~> 7.0) was resolved to 7.0.0, which depends on
GoogleDataTransport (~> 9.0) was resolved to 9.1.2, which depends on
GoogleUtilities/Environment (~> 7.2)
CocoaPods could not find compatible versions for pod "MLKitCommon":
In Podfile:
google_mlkit_digital_ink_recognition (from .symlinks/plugins/google_mlkit_digital_ink_recognition/ios) was resolved to 0.5.0, which depends on
GoogleMLKit/DigitalInkRecognition (~> 3.1.0) was resolved to 3.1.0, which depends on
MLKitDigitalInkRecognition (~> 2.1.0) was resolved to 2.1.0, which depends on
MLKitMDD (~> 4.1) was resolved to 4.2.0, which depends on
MLKitCommon (~> 8.0)
google_mlkit_face_detection (from `.symlinks/plugins/google_mlkit_face_detection/ios`) was resolved to 0.4.0, which depends on
GoogleMLKit/FaceDetection (~> 3.1.0) was resolved to 3.1.0, which depends on
GoogleMLKit/MLKitCore (= 3.1.0) was resolved to 3.1.0, which depends on
MLKitCommon (~> 7.0.0)
google_mlkit_face_detection (from `.symlinks/plugins/google_mlkit_face_detection/ios`) was resolved to 0.4.0, which depends on
GoogleMLKit/FaceDetection (~> 3.1.0) was resolved to 3.1.0, which depends on
MLKitFaceDetection (~> 2.1.0) was resolved to 2.1.0, which depends on
MLKitCommon (~> 7.0)
CocoaPods could not find compatible versions for pod "MLKitLanguageID":
In Podfile:
google_mlkit_language_id (from .symlinks/plugins/google_mlkit_language_id/ios) was resolved to 0.4.0, which depends on
GoogleMLKit/LanguageID (~> 3.1.0) was resolved to 3.1.0, which depends on
MLKitLanguageID (~> 3.1.0)
google_mlkit_smart_reply (from `.symlinks/plugins/google_mlkit_smart_reply/ios`) was resolved to 0.4.0, which depends on
GoogleMLKit/SmartReply (~> 3.1.0) was resolved to 3.1.0, which depends on
MLKitSmartReply (~> 2.1.0) was resolved to 2.1.0, which depends on
MLKitLanguageID (~> 3.1)
CocoaPods could not find compatible versions for pod "MLKitTextRecognitionCommon":
In Podfile:
google_mlkit_text_recognition (from .symlinks/plugins/google_mlkit_text_recognition/ios) was resolved to 0.4.0, which depends on
GoogleMLKit/TextRecognition (~> 3.1.0) was resolved to 3.1.0, which depends on
MLKitTextRecognition (~> 1.4.0-beta5) was resolved to 1.4.0-beta5, which depends on
MLKitTextRecognitionCommon (= 1.0.0-beta5)
google_mlkit_text_recognition (from `.symlinks/plugins/google_mlkit_text_recognition/ios`) was resolved to 0.4.0, which depends on
GoogleMLKit/TextRecognitionJapanese (~> 3.1.0) was resolved to 3.1.0, which depends on
MLKitTextRecognitionJapanese (~> 1.0.0-beta5) was resolved to 1.0.0-beta6, which depends on
MLKitTextRecognitionCommon (= 1.0.0-beta6)
CocoaPods could not find compatible versions for pod "MLKitVision":
In Podfile:
google_mlkit_commons (from .symlinks/plugins/google_mlkit_commons/ios) was resolved to 0.2.0, which depends on
MLKitVision
google_mlkit_face_detection (from `.symlinks/plugins/google_mlkit_face_detection/ios`) was resolved to 0.4.0, which depends on
GoogleMLKit/FaceDetection (~> 3.1.0) was resolved to 3.1.0, which depends on
MLKitFaceDetection (~> 2.1.0) was resolved to 2.1.0, which depends on
MLKitVision (~> 4.1)
google_mlkit_object_detection (from `.symlinks/plugins/google_mlkit_object_detection/ios`) was resolved to 0.5.0, which depends on
GoogleMLKit/ObjectDetectionCustom (~> 3.1.0) was resolved to 3.1.0, which depends on
MLKitObjectDetectionCustom (~> 2.1.0) was resolved to 2.1.0, which depends on
MLKitObjectDetectionCommon (~> 4.1) was resolved to 4.2.0, which depends on
MLKitVision (~> 4.2)
CocoaPods could not find compatible versions for pod "MLKitXenoCommon":
In Podfile:
google_mlkit_pose_detection (from .symlinks/plugins/google_mlkit_pose_detection/ios) was resolved to 0.4.0, which depends on
GoogleMLKit/PoseDetection (~> 3.1.0) was resolved to 3.1.0, which depends on
MLKitPoseDetection (~> 1.0.0-beta9) was resolved to 1.0.0-beta10, which depends on
MLKitXenoCommon (= 1.0.0-beta10)
google_mlkit_pose_detection (from `.symlinks/plugins/google_mlkit_pose_detection/ios`) was resolved to 0.4.0, which depends on
GoogleMLKit/PoseDetectionAccurate (~> 3.1.0) was resolved to 3.1.0, which depends on
MLKitPoseDetectionAccurate (~> 1.0.0-beta9) was resolved to 1.0.0-beta9, which depends on
MLKitXenoCommon (= 1.0.0-beta9)
in your terminal do
cd ios
pod install
If the problem persists, I recommend deleting the Podfile.lock file from your iOS repository and in the repo's terminal, type in:
cd iOS
pod deintegrate
pod install --repo-update
This shall update all your cocoa pods to the latest possible version. If you do that and you keep getting the same error, I'd recommend looking into the version of your dependencies in the pubspec.yaml file and updating all those that are outdated as well.
I want to add flutter_geofire to my YAML file but I keep getting this error
[!] CocoaPods could not find compatible versions for pod "Firebase/Database":
In Podfile:
firebase_database (from `.symlinks/plugins/firebase_database/ios`) was resolved to 9.1.5, which depends on
Firebase/Database (= 9.5.0)
flutter_geofire (from `.symlinks/plugins/flutter_geofire/ios`) was resolved to 0.0.1, which depends on
GeoFire (~> 4.0) was resolved to 4.1.0, which depends on
Firebase/Database (~> 6.0)
Any help please.
I am trying to build a simple Cordova app for iOS, but running pod install fails with the following error:
[!] CocoaPods could not find compatible versions for pod "FBSDKCoreKit":
In Podfile:
CordovaPluginsStatic (from `../capacitor-cordova-ios-plugins`) was resolved to 2.4.2, which depends on
FBSDKCoreKit (= 5.15.0)
CordovaPluginsStatic (from `../capacitor-cordova-ios-plugins`) was resolved to 2.4.2, which depends on
FBSDKShareKit (= 5.15.0) was resolved to 5.15.0, which depends on
FBSDKShareKit/Share (= 5.15.0) was resolved to 5.15.0, which depends on
FBSDKCoreKit (~> 5.0)
As far as I understand, FBSDKCoreKit (~> 5.0) should actually match = 5.15.0 so it looks like CocoaPods fails to figure this out.
How do I troubleshoot this?
CocoaPods: 1.10.0
I've installed Firebase In App Messaging according to the guide: https://rnfirebase.io/in-app-messaging/usage
When I run pod install, I get this:
Using firebase.json from '/../app/firebase.json'
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 RNFBAnalytics, RNFBApp, RNFBCrashlytics, RNFBDynamicLinks, and RNFBInAppMessaging
Updating local specs repositories
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "GoogleDataTransportCCTSupport":
In snapshot (Podfile.lock):
GoogleDataTransportCCTSupport (= 2.0.2, ~> 2.0)
In Podfile:
RNFBInAppMessaging (from `../node_modules/#react-native-firebase/in-app-messaging`) was resolved to 6.4.0, which depends on
Firebase/InAppMessaging (~> 6.13.0) was resolved to 6.13.0, which depends on
Firebase/CoreOnly (= 6.13.0) was resolved to 6.13.0, which depends on
FirebaseCore (= 6.4.0) was resolved to 6.4.0, which depends on
FirebaseCoreDiagnostics (~> 1.0) was resolved to 1.2.3, which depends on
GoogleDataTransportCCTSupport (~> 2.0)
RNFBInAppMessaging (from `../node_modules/#react-native-firebase/in-app-messaging`) was resolved to 6.4.0, which depends on
Firebase/InAppMessaging (~> 6.13.0) was resolved to 6.13.0, which depends on
FirebaseInAppMessaging (~> 0.15.5) was resolved to 0.15.6, which depends on
GoogleDataTransportCCTSupport (~> 1.0)
You have either:
* changed the constraints of dependency `GoogleDataTransportCCTSupport` inside your development pod `RNFBInAppMessaging`.
You should run `pod update GoogleDataTransportCCTSupport` to apply changes you've made.
I've tried a few things including pod install --repo-update but nothing helps.
Adding pod 'FirebaseCoreDiagnostics', '1.2.1' to the Podfile might be a workaround since that podspec only needs GoogleDataTransportCCTSupport 1.x.
Those Firebase versions are several months old - so another approach would be to encourage React Native to update the wrappers.
I'd like to use the Geofirestore library to do some location based queries. If I install it using CocoaPods, it will downgrade most of the firebase libraries to a compatible version. I'd like to keep up to date with Firebase but still be able to run Geofirestore/Geofire
This is the error I'm getting
[!] CocoaPods could not find compatible versions for pod "FirebaseCore":
In Podfile:
GeoFire (from `https://github.com/firebase/geofire-objc.git`) was resolved to 3.0.0, which depends on
Firebase/Database (~> 6.0) was resolved to 6.5.0, which depends on
Firebase/CoreOnly (= 6.5.0) was resolved to 6.5.0, which depends on
FirebaseCore (= 6.1.0)
GeoFire (from `https://github.com/firebase/geofire-objc.git`) was resolved to 3.0.0, which depends on
Firebase/Database (~> 6.0) was resolved to 6.5.0, which depends on
FirebaseDatabase (~> 6.0.0) was resolved to 6.0.0, which depends on
FirebaseCore (~> 6.0)
Geofirestore (from `https://github.com/imperiumlabs/GeoFirestore-iOS.git`) was resolved to 1.0.0, which depends on
FirebaseCore (~> 5.0)
Can someone help me out with this? I've read that people have been installing it manually..but I have no idea how to do that.
Any help is greatly appreciated.
Arvid
The GeoFirestore CocoaPod needs to be updated. See https://github.com/imperiumlabs/GeoFirestore-iOS/issues/19