无法更新广告连播

时间:2019-12-02 14:23:01

标签: swift xcode pod

我正在处理现有项目。 我在Pod文件中添加了另一个Pod

pod 'Firebase/Analytics'

并运行pod install命令。它安装了旧版本的pod。以下是pod outdated命令的结果。

enter image description here

以下是我的pod文件

  platform :ios, '9.3'
    use_frameworks!

    def shared_pods

    pod 'SwiftyJSON’
    pod 'Kingfisher' #, '4.10.0'
    pod 'Google/Analytics'
    pod 'Fabric'
    pod 'Crashlytics'
    pod 'youtube-ios-player-helper'
    pod 'Firebase/Analytics'
    #    pod 'SlideMenuControllerSwift'
    pod 'XLPagerTabStrip'
end

target 'Project00' do
shared_pods
end

target 'Project01' do
shared_pods
end

target 'Project02' do
shared_pods
end

target 'Project03' do
shared_pods
end

target 'Projec4' do
shared_pods
end

platform :ios, '9.3'更新为platform :ios, '10.0'后,我运行pod update命令,它仅更新Kingfisher容器,而没有更新Firebase容器。

enter image description here

我也尝试使用sudo gem update cocoapods命令,并且cocoapods已经更新。仍然无法更新Firebase Pod。 我正在使用Xcode 11.2.1

1 个答案:

答案 0 :(得分:2)

很有可能,您的其他一些Pod依赖于未更新的Pod的特定版本。我的猜测是"Google/Analytics",请尝试将其删除并再次执行pod update

Podfile.lock应该具有有关依赖项以及确切情况的更多信息。