any of you who knows how to solve this issue having 2 libraries using a different version of another library in iOS flutter pods?
I've seen a lot of posts but not sure if I'm doing something wrong because they did not work for me.
Also, I've tried pod update and does not solve my issue
[!] CocoaPods could not find compatible versions for pod "Protobuf":
In snapshot (Podfile.lock):
Protobuf
In Podfile:
flutter_blue (from `.symlinks/plugins/flutter_blue/ios`) was resolved to 0.0.1, which depends on
flutter_blue/Protos (= 0.0.1) was resolved to 0.0.1, which depends on
Protobuf (~> 3.11.4)
mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`) was resolved to 0.0.1, which depends on
GoogleMLKit/BarcodeScanning (~> 2.6.0) was resolved to 2.6.0, which depends on
MLKitBarcodeScanning (~> 1.7.0) was resolved to 1.7.0, which depends on
MLKitVision (~> 3.0) was resolved to 3.0.0, which depends on
Protobuf (~> 3.12)
Any help would be really appreciated.
The issue as the logs states is that you are using a specific version of Protobuf while mobile_scanner depends on a different version which can't be resolved.
you can either try to upgrade Protobuf to using version 3.12 or downgrading mobile_scanner to use Protobuf 3.11.4(which I don't recommend since it is a dependency).
Related
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
I received this error log when pod install.
[!] CocoaPods could not find compatible versions for pod "RxSwift":
In snapshot (Podfile.lock):
RxSwift (= 4.1.2, ~> 4.0)
In Podfile:
FrameworkA (~> 4.0) was resolved to 4.0.4, which depends on
RxSwift (~> 4.0)
FrameworkB (~> 1.0) was resolved to 1.0.4, which depends on
RxSwift (~> 3.0)
I understand what is problem. because of two frameworks are needed same library but different versions. (... right?)
But I must use that versions that FrameworkA is ~> 4.0 and FrameworkB is ~> 1.0.
What are the solutions in my case?