ios - CocoaPods 不更新 pod,pod FirebaseFirestore 的兼容版本
问题描述
我需要将我的 firebase pod 更新到最新版本,但是当我尝试在我的项目上运行 pod update 或 pod install 时出现以下错误
Update all pods
Updating local specs repositories
Analyzing dependencies
Pre-downloading: `MessageKit` from `https://github.com/MessageKit/MessageKit.git`, branch `3.0.0-swift5`
[!] CocoaPods could not find compatible versions for pod "FirebaseFirestore":
In Podfile:
Firebase/Firestore was resolved to 6.14.0, which depends on
FirebaseFirestore (~> 1.8.2)
Geofirestore was resolved to 0.1.0, which depends on
FirebaseFirestore (~> 0.12.3)
我的播客文件是:
platform :ios, '13.0'
target 'ApproachApp' do
use_frameworks!
pod 'Firebase/Auth', '~> 6.14.0'
pod 'Firebase/Firestore'
pod 'Firebase/Storage'
pod 'FirebaseUI/Storage'
pod 'Toast-Swift', '~> 5.0.0'
pod 'FacebookCore'
pod 'FacebookLogin'
pod 'Geofirestore'
pod 'UPCarouselFlowLayout'
pod 'MessageKit', :git => 'https://github.com/MessageKit/MessageKit.git', :branch => '3.0.0-swift5'
end
我还尝试了一个全新的项目和相同的 pod 配置,但没有运气。
谢谢
解决方案
问题是Geofirestore pod 的 Firestore 依赖于 Firestore 的非常旧的 beta 版本。
您可能想向 Geofirestore 提出问题,但自 2018 年 7 月以来似乎没有更新。
推荐阅读
- c++ - 多线程对 GALib 的 GAPopulation 中的个体进行评估
- git - 如何确定适用于 Windows 的 Git Credential Manager 的版本?
- if-statement - 带有变量的 if 语句在多个地方使用
- pandas - 如何使用类在循环中合并多个数据框
- javascript - 如何使用 javascript 将 json 对象附加到 html 正文?(没有 jQuery)
- xpath - 如何在空手道中使用 count() 调用“动态”XPath?
- php - 如何从数据库中返回属性
- java - 使用 Spring Data 将 io.vavr.collection.Map 存储到 MongoDB
- docker - 如何在 docker 控制台应用程序中执行健康检查
- java - 围绕其中心旋转 glutBitmapString