【问题标题】:Unable to update firebase latest framework from podfile无法从 podfile 更新 firebase 最新框架
【发布时间】:2019-11-20 14:43:10
【问题描述】:

当我尝试通过 cocoapods 更新我的 Firebase 时,它​​总是更新到 3.17.0 版本 - 这是旧版本。根据 firebase 文档,6.4.0 是 iOS 的最新版本。为什么我无法更新到最新版本。

我尝试了多种方法来解决这个问题。但没有运气。

FireBase Cocoa Pods Installation Not Working

FireBase Cocoa Pods Installation Not Working

平台:ios,'10.0' 使用_frameworks!

target 'the-name-of-target' 做 吊舱“火力基地” 结束

我应该能够更新到最新的 firebase 框架。

编辑:通过变通方法解决。

具有依赖项的 Google 登录框架。作为解决方法删除了 google sigenin pod 并添加为框架。现在我可以将firebase更新到最新版本。谢谢。

【问题讨论】:

    标签: ios objective-c firebase


    【解决方案1】:

    尝试清除 pods 缓存并重新安装 CocoaPods

    【讨论】:

    • 尝试了各种清理方法。似乎 is 对 Google 登录 pod 有一些依赖。
    【解决方案2】:

    您是否尝试过更新 pod?

    更新所有 pod 的命令

    pod update
    

    针对特定的 pod

    pod update POD_NAME
    

    【讨论】:

    • 谷歌登录框架有依赖。作为解决方法删除了 google sigenin pod 并添加为框架。现在我可以将firebase更新到最新版本。谢谢。
    【解决方案3】:

    检查生成的 Podfile.lock 以查看哪个依赖项强制 Firebase 的版本为 3.x。

    【讨论】:

    • 已通过解决方法解决。具有依赖关系的 Google Signin 框架。作为解决方法删除了 google sigenin pod 并添加为框架。现在我可以将firebase更新到最新版本。谢谢。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-10-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多