This is the error when I try to run ios app.
[!] CocoaPods could not find compatible versions for pod "FBSDKLoginKit":
In Podfile:
flutter_facebook_auth (from `.symlinks/plugins/flutter_facebook_auth/ios`) was resolved to 0.3.1, which depends on
FBSDKLoginKit (~> 7.1.0)
flutter_facebook_login (from `.symlinks/plugins/flutter_facebook_login/ios`) was resolved to 0.0.1, which depends on
FBSDKLoginKit (~> 5.5)
and I have done some research and show some article saying to do flutter clean and deleting podfile and then rerunning. But that didn't save me. Anyone know to bypass this.
Related
Does objectbox flutter support ios emulator on M1 macbooks?
I get this error despite following Getting started guide, however it works fine in CI which also runs on M1 chip (but against physical phone engine snapshot, not the emulator)
$ pod install
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "ObjectBox":
In snapshot (Podfile.lock):
ObjectBox (= 1.7.0)
In Podfile:
objectbox_flutter_libs (from `.symlinks/plugins/objectbox_flutter_libs/ios`) was resolved to 0.0.1, which depends on
ObjectBox (= 1.8.1)
Specs satisfying the `ObjectBox (= 1.7.0), ObjectBox (= 1.8.1)` dependency were found, but they required a higher minimum deployment target.
From what I can see, 1.7.2 requires swift 5.7.2 which according to a quick google search should be supported by ios 14
I've tried rolling back to 1.6.2 and changing deployment target up to 14 (from 11) but the error is still there.
How do I fix that?
I deleted Podfile.lock and then ran flutter pub get followed by pod install which seems to have solved the issue
i've added firebase_auth and get this error
CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core":
In Podfile:
firebase_auth (from `.symlinks/plugins/firebase_auth/ios`) was resolved to 4.0.2, which depends on
Firebase/Auth (= 10.0.0) was resolved to 10.0.0, which depends on
FirebaseAuth (~> 10.0.0) was resolved to 10.0.0, which depends on
GTMSessionFetcher/Core (~> 2.1)
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
GTMSessionFetcher/Core (~> 1.1)
if i remove the firebase_auth, everything goes fine .
i've tried to use arch -x86_64 pod install with no success .
any one faced this issue?
Both the packages (firebase_auth and mobile_scanner) are using GTMSessionFetcher pod internally in iOS.
As both plugin uses different version of GTMSessionFetcher it causes conflicts, thus we are not able to compile iOS app.
There is one open issue in firebase-ios-sdk where we can get all the updates, as of now I am also not able to found any issues, but will update here if I found anything important. Thanks.
Update
I found two more linked issues.
Issue 1
Issue 2
For me Updating all the firebase dependencies to the latest version and google sign in version removed this error.
Then, run pod install.
Try to remove Podile.lock and rebuild the app
UPDATE
Sometimes problems happen due target ios platform. Try to do these steps:
flutter clean
update all dependencies to the latest version in pubspec.yml file and do flutter pub get
Go to your Podfile and uncomment #platform :ios, '9.0' Then change the version to 10 platform :ios, '10.0'
go to ios folder and throuh the terminal run command: pod repo update, pod update or pod install
[!] CocoaPods could not find compatible versions for pod "Sentry":
In Podfile:
sentry_flutter (from .symlinks/plugins/sentry_flutter/ios) was resolved to 0.0.1, which depends on
Sentry (~> 7.11.0)
None of your spec sources contain a spec satisfying the dependency: `Sentry (~> 7.11.0)`.
I am just trying to install sentry_flutter plugin in my futter project. Currently i am testing in ios device. But it gives the above error.
The error message seems straight forward enough. But i cannot manage to include this plugin in my project.
you can run pod repo update to update your local cache bcause it may be outdated.
If it doesn't fix the issue for you, you can delete your Podfile.look file on ios folder and run pod install
elamparithibalakrishnan#MacBook-Pro-3 ios % pod install
Analyzing dependencies
Pre-downloading: `FirebaseFirestore` from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `7.3.0`
cloud_firestore: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "FirebaseFirestore":
In Podfile:
FirebaseFirestore (from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `7.3.0`)
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 2.2.1, which depends on
Firebase/Firestore (= 8.0.0) was resolved to 8.0.0, which depends on
FirebaseFirestore (~> 8.0.0)
I am getting this error when I executed the pod install command, I deleted the podfile.lock file and executed the command, but this is showing the error with respect to Firebase.
can anyone help me on this issue? Thanks.
This issue is resolved, I just changed the tag as 8.0.0
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.0.0'
In order to install AudioKit 4.1 via CocoaPods, I did pod 'AudioKit', '~> 4.1' on Terminal, but I got an error:
[!] Unable to satisfy the following requirements:
- AudioKit (~> 4.1) required by Podfile
None of your spec sources contain a spec satisfying the dependency: AudioKit (~> 4.1).
What's wrong?
I use Swift 4 and Xcode 9.2.
This should be fixed now!
🚀 AudioKit (4.1) successfully published
📅 February 13th, 17:01
🌎 https://cocoapods.org/pods/AudioKit
👍 Tell your friends!
As for now, AudioKit 4.0.4 is the latest version that you can install directly from CocoaPods. Just remove the arrow from the dependency or replace it with ~> 4.0.4.
Alternatively, you can point the dependency to GitHub to be able to use 4.1:
pod 'AudioKit', :git => 'https://github.com/AudioKit/AudioKit.git'