无法将Pod更新到最新版本 [英] Can't update pods to the latest version

查看:121
本文介绍了无法将Pod更新到最新版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用react-native,我正在尝试通过使用来更新pods

I'm using react-native and I am trying to update the pods by using

pod update

但是它什么也没更新.但是,当我使用

But it updates nothing. However, when I use

pod outdated

它显示了这一点

    Updating spec repo `master`
    $ /usr/bin/git -C /Users/IG/.cocoapods/repos/master fetch origin --progress
    remote: Counting objects: 15, done.        
    remote: Compressing objects: 100% (14/14), done.        
    remote: Total 15 (delta 11), reused 0 (delta 0), pack-reused 0        
    From https://github.com/CocoaPods/Specs
        1bb3a72da66..f6d4f6f0e14  master     -> origin/master
    $ /usr/bin/git -C /Users/IG/.cocoapods/repos/master rev-parse --abbrev-ref HEAD
    master
    $ /usr/bin/git -C /Users/IG/.cocoapods/repos/master reset --hard origin/master
    HEAD is now at f6d4f6f0e14 [Add] ScanbotSDK 0.0.2
    Analyzing dependencies
    The color indicates what happens when you run `pod update`
    <green>      - Will be updated to the newest version
    <blue>   - Will be updated, but not to the newest version because of specified version in Podfile
    <red>        - Will not be updated because of specified version in Podfile

    The following pod updates are available:
    - Firebase 3.17.0 -> (unused) (latest version 4.13.0)
    - FirebaseAnalytics 3.9.0 -> 3.9.0 (latest version 4.2.0)
    - FirebaseCore 3.6.0 -> 3.6.0 (latest version 4.0.20)
    - FirebaseInstanceID 1.0.10 -> 1.0.10 (latest version 2.0.10)
    - FirebaseMessaging 1.2.3 -> 1.2.3 (latest version 2.2.0)
    The following pods are deprecated:
    - Google

但是我的podfile没有指定任何版本:

But my podfile doesn't specify any version:

platform :ios, '8.0'
use_frameworks!

target 'MyApp' do
    pod 'Google/SignIn'
    pod 'Firebase/Core'
    pod 'Firebase/Messaging'
end

我的本​​机反应为0.47.2Xcode 9.2椰子足1.5.0

I have react-native 0.47.2 xcode 9.2 cocoapods 1.5.0

推荐答案

我发现了问题.我从Podfile中删除了"Google/SignIn",所有Pod均已更新.不知道如何更换该吊舱,但我猜Google自从他们弃用了另一个吊舱之后.

I Found the problem. I removed 'Google/SignIn' from the podfile and all pods were updated. Not sure how to replace that pod but I guess Google has another pod since they deprecated this one.

这篇关于无法将Pod更新到最新版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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