FirebaseFirestoreSwift 不会安装 (CocoaPods) [英] FirebaseFirestoreSwift won't install (CocoaPods)

查看:28
本文介绍了FirebaseFirestoreSwift 不会安装 (CocoaPods)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试加载 FirebaseFirestoreSwift,但收到错误消息:

I'm trying to load FirebaseFirestoreSwift and I'm getting the error message:

    [!] CocoaPods could not find compatible versions for pod "FirebaseFirestore":
  In snapshot (Podfile.lock):
    FirebaseFirestore (= 7.0.0, ~> 7.0.0)

  In Podfile:
    Firebase/Firestore was resolved to 7.0.0, which depends on
      FirebaseFirestore (~> 7.0.0)

    FirebaseFirestore

    FirebaseFirestoreSwift was resolved to 0.4.0, which depends on
      FirebaseFirestore (>= 1.6.1, ~> 1.6)

我的 Podfile 有:

My Podfile has:

pod 'Firebase/Firestore'
pod 'Firebase/Analytics'
pod 'Firebase/Storage'
pod 'FirebaseFirestoreSwift'

所有其他 Pod 都加载良好.我错过了什么吗?

All the other pods have loaded fine. Am I missing something?

推荐答案

Change to pod 'FirebaseFirestoreSwift', '>7.0-beta'

从 7.0.0 版本开始,Firebase 现在使用版本标签而不是 0 主要版本来指示测试状态.发行说明中的更多详细信息.

Staring with the 7.0.0 release, Firebase is now indicating beta status with a version tag instead of a 0 major version. More details in the release notes.

这篇关于FirebaseFirestoreSwift 不会安装 (CocoaPods)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆