Errors appearing after updating the Firebase auth package -- Flutter - ios

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.

Related

firebase_database and flutter_geofire compatibility issue on iOS

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.

React Native pod install fails [nanopb]

pod install fails with this error, anyone know what to do?
[!] CocoaPods could not find compatible versions for pod "nanopb":
In Podfile:
EXFirebaseAnalytics (from `../node_modules/expo-firebase-analytics/ios`) was resolved to 2.4.1, which depends on
Firebase/Core (= 6.14.0) was resolved to 6.14.0, which depends on
FirebaseAnalytics (= 6.1.7) was resolved to 6.1.7, which depends on
nanopb (= 0.3.9011)
RNFBCrashlytics (from `../node_modules/#react-native-firebase/crashlytics`) was resolved to 8.4.2, which depends on
Firebase/Crashlytics (~> 6.30.0) was resolved to 6.30.0, which depends on
FirebaseCrashlytics (~> 4.4.0) was resolved to 4.4.0, which depends on
nanopb (~> 1.30905.0)

Installing Geofirestore for Firebase 6.5.0

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

Spree_static_content gem not working with spree 3.3.x

Have to create static pages using the same layout of rest of the spree commerce site. Spree_static_content is the gem I tried using. However, getting following error on bundle install.
Bundler could not find compatible versions for gem "spree_core":
In snapshot (Gemfile.lock):
spree_core (= 3.3.1)
In Gemfile:
spree (~> 3.3.0) was resolved to 3.3.1, which depends on
spree_core (= 3.3.1)
spree (~> 3.3.0) was resolved to 3.3.1, which depends on
spree_core (= 3.3.1)
spree (~> 3.3.0) was resolved to 3.3.1, which depends on
spree_core (= 3.3.1)
spree (~> 3.3.0) was resolved to 3.3.1, which depends on
spree_core (= 3.3.1)
spree (~> 3.3.0) was resolved to 3.3.1, which depends on
spree_core (= 3.3.1)
spree_gateway (~> 3.3) was resolved to 3.3.0, which depends on
spree_core (< 4.0, >= 3.1.0)
spree_gateway (~> 3.3) was resolved to 3.3.0, which depends on
spree_core (< 4.0, >= 3.1.0)
spree_static_content was resolved to 3.0.1, which depends on
spree_core (~> 3.0.0)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
Found the solution this issue is because of dependent gem globalize with Rails 5. Add the following to your Gemfile:
gem 'globalize', git: 'https://github.com/globalize/globalize'
gem 'activemodel-serializers-xml'
Next, bundle install and you will net the above-mentioned error in questions.

rails/middleman dependencies requires different versions of a gem

I was trying to add the middleman-cloudfront gem to my middleman project, but got the following error. Most of the gems needs >= 4.0 version of the the middleman-core gem, but the middleman-cloudfront requires ~> 3.0 version.
How can I solve this issue?
Bundler could not find compatible versions for gem "middleman-core":
In Gemfile:
middleman (>= 4.0.0) was resolved to 4.0.0, which depends on
middleman-core (= 4.0.0)
middleman-cloudfront (~> 0.2.1) was resolved to 0.2.1, which depends on
middleman-core (~> 3.0)
middleman-google-analytics (>= 2.1.1, ~> 2.1) was resolved to 2.1.1, which depends on
middleman-core (>= 3.4)
middleman-s3_sync (>= 4.0.3, ~> 4.0) was resolved to 4.0.3, which depends on
middleman-core (>= 4.0.0)
middleman-s3_sync (>= 4.0.3, ~> 4.0) was resolved to 4.0.3, which depends on
middleman-core (>= 4.0.0)
middleman-sprockets (~> 4.0) was resolved to 4.0.0, which depends on
middleman-core (~> 4.0)
It looks like support for v4 has been added to middleman-cloudfront, but not yet released as a new version. You can pull directly from master:
gem 'middleman-cloudfront', github: 'andrusha/middleman-cloudfront'

Resources