I am trying to run pod install but I am getting the following error message:
[!] CocoaPods could not find compatible versions for pod "FirebaseFirestore":
In snapshot (Podfile.lock):
FirebaseFirestore (= 8.9.1, ~> 8.9.0)
In Podfile:
FirebaseFirestore (from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `8.9.0`)
None of your spec sources contain a spec satisfying the dependencies: `FirebaseFirestore (from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `8.9.0`), FirebaseFirestore (= 8.9.1, ~> 8.9.0)`.
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
I tried following the solution in this post: CocoaPods could not find compatible versions for pod "FirebaseFirestore": which was to add pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.9.0' in my Podfile but it doesn't change anything.
Related
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'
This is a note to myself for the next time I come across a similar error
I get this error when running pod install
[!] CocoaPods could not find compatible versions for pod "tau_core":
In Podfile:
flutter_sound (from `.symlinks/plugins/flutter_sound/ios`) was resolved to 7.7.1, which depends on
tau_core (= 7.7.0+1)
tau_core (= 2.2.0)
None of your spec sources contain a spec satisfying the dependencies: `tau_core (= 2.2.0), tau_core (= 7.7.0+1)`.
Fixed through:
Delete .symlink
delete podfile.lock
delete Pods folder
Make sure there are no dependencies that conflict in PodFile
Make sure in pubspec.yaml dependency is up to date
flutter clean
flutter pub upgrade
flutter pub get
cd ios
pod install
I followed the steps described above but I added an update for the pod repo, make sure to close VSCode after pod install otherwise it can cause errors
Delete .symlink
delete podfile.lock
delete Pods folder
Make sure there are no dependencies that conflict in PodFile
Make sure in pubspec.yaml dependency is up to date
flutter clean
flutter pub upgrade
flutter pub get
cd iOS
pod repo update
pod install
I get this message after submitting my app to App Store Connect.
ITMS-90809: Deprecated API Usage — Apple will stop accepting
submissions of apps that use UIWebView APIs When upload myApp
It tells me that my project is using WebView (deprecated library). I found the problem in AFNetworking library, after going to this page they report that version 4.0 this problem was corrected, so when I update my pod and run the pod install I receive the following error.
[!] CocoaPods could not find compatible versions for pod "AFNetworking/NSURLSession":
In snapshot (Podfile.lock):
AFNetworking/NSURLSession (= 4.0.1)
In Podfile:
AFNetworkActivityLogger (from `https://github.com/AFNetworking/AFNetworkActivityLogger.git`, branch `3.0.0`) was resolved to 3.0.0, which depends on
AFNetworking/NSURLSession (~> 3.0)
Specs satisfying the `AFNetworking/NSURLSession (= 4.0.1), AFNetworking/NSURLSession (~> 3.0)` dependency were found, but they required a higher minimum deployment target.
I really don't understand why or how to fix it, I already checked the AFNetworkActivityLogger Git project since here the cocoapods indicates that problem. On their page they mention that the problem is resolved in an update, however I cannot update this library so I got stuck at this point. I hope you help me, thanks in advance.
I share my pod so they can review it.
platform :ios, '10.3'
inhibit_all_warnings!
use_frameworks!
end
def common_pods
pod 'AFNetworking', '~> 4.0'
pod 'AFNetworkActivityLogger', :git => 'https://github.com/AFNetworking/AFNetworkActivityLogger.git', :branch => '3.0.0'
end
target 'PardosChicken' do
common_pods
end
target 'PardosChickenTests' do
pod 'OCMock'
pod 'Specta'
pod 'Expecta'
end
The PR you reference with the fix has not yet been merged. To point to the PR directly do:
pod 'AFNetworkActivityLogger', :git => 'https://github.com/ToshMeston/AFNetworkActivityLogger.git'
I am try add facebook login to Flutter app. I am use flutter_facebook_login. But when I try build for iOS give error:
Resolving dependencies of `Podfile`
[!] CocoaPods could not find compatible versions for pod "FBSDKLoginKit":
In Podfile:
flutter_facebook_login (from `.symlinks/plugins/flutter_facebook_login/ios`) was resolved to 0.0.1, which depends on
FBSDKLoginKit (= 4.39.1)
None of your spec sources contain a spec satisfying the dependency: `FBSDKLoginKit (= 4.39.1)`.
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies.
To update the CocoaPods specs, run:
pod repo update
Error running pod install
Error launching application on iPhone X.
I no install pod manually because flutter_facebook_login readme say:
(Note: you can skip "Step 2: Set up Your Development Environment").
Anyone help?
Thanks!
According to this diegoveloper's answer flutter_facebook_login github issue.
https://github.com/roughike/flutter_facebook_login/issues/201
flutter clean
Remove ios/Podfile.lock file
Go to the Podfile file and changed from platform :ios, '9.0' to platform :ios, '11.0'
(In my case, some libs don't support 11.0 and I use
platform :ios, '9.0
then set deployment target in runner.xcsworkspace to 9.0 and it work.)
Go to the terminal , ios directory and run pod install
Run the project again.
just update your podfile .
platform :ios, '11.0'
try to pod install again in terminal.
pod install
open terminal and go to root package directory using cd the_root_package_path
type flutter clean
open podfile and uncomment : # platform :ios, '11.0'
run pod install
had the same problem, tried everything, this worked for me.
I had this problem some time ago and I was able to solve this with a manual approach.
Make sure that you have in your pubspec.yaml flutter_facebook_login: ˆ2.0.0 declared and getted.
In your project root directory navigate to ios > .symlinks > plugins > flutter_facebook_login > ios > flutter_facebook_login.podspec
You will change some fields inside flutter_facebook_login.podspec.
s.version = '2.0.0'
and
s.dependency 'FBSDKLoginKit', '~> 4.29'
after this in your osx box inside of ios directory of your project run pod deintegrate and pod update return to root project directory run flutter clean
and try to build your project again.
Here is an example of my flutter_facebook_login.podspec that works fine into one of my projects. I hope it helps.
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'flutter_facebook_login'
s.version = '2.0.0'
s.summary = 'A Flutter plugin for allowing users to authenticate with native Android & iOS Facebook login SDKs.'
s.description = <<-DESC
A Flutter plugin for allowing users to authenticate with native Android & iOS Facebook login SDKs.
DESC
s.homepage = 'http://example.com'
s.license = { :file => '../LICENSE' }
s.author = { 'Your Company' => 'email#example.com' }
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'
s.dependency 'FBSDKLoginKit', '~> 4.29'
# https://github.com/flutter/flutter/issues/14161
#s.static_framework = true
s.ios.deployment_target = '8.0'
end
I'm trying to add the Geofirestore pod I found on GitHub So I can add geo locations longitude and latitude to posts in a social media app. My pod file looks like this
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Firestore'
pod 'Firebase/Storage', '~> 4.0'
pod 'Geofirestore'
I ran the pod repo update and pod install in my terminal but its not working and I'm getting this as an error.
[!] CocoaPods could not find compatible versions for pod "FirebaseCore":
In snapshot (Podfile.lock):
FirebaseCore (= 4.0.20, ~> 4.0)
In Podfile:
Firebase/Core was resolved to 4.13.0, which depends on
FirebaseAnalytics (= 4.2.0) was resolved to 4.2.0, which depends on
FirebaseCore (~> 4.0)
Firebase/Core was resolved to 4.13.0, which depends on
FirebaseCore (= 4.0.20)
Geofirestore was resolved to 0.1.0, which depends on
FirebaseCore (~> 5.0.3)
[!] Automatically assigning platform `ios` with version `11.4` on target `My App` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform
You have 'Geofirestore' in your Podfile: as seen by the error message, it requires FirebaseCore (~> 5.0.3).
You have 'Firebase/Storage', '~> 4.0' in your Podfile, which sticks you to FirebaseCore (~> 4.0).
To use both, you'll need to upgrade from Firebase 4 to Firebase 5. I.e. you need to have:
pod 'Firebase/Storage', '~> 5.0'