ios - pod 未更新,即使它显示通过 'pod outdated' 可用的更新

标签 ios firebase cocoapods

我正在尝试更新我的 pod,我通过

列出了 pod 更新
pod outdated

enter image description here

podfile(此外,我什至尝试在 podfile 中输出 'Firebase/Auth', '6.3.1' 来指定版本,但没有用 ["-" 用于代替应用程序,NDA -_- ] )

# Uncomment the next line to define a global platform for your project
use_frameworks!
platform :ios, '9.0'


def extension_pod
#   pod 'ReadabilityKit', '0.7.1'
    pod 'SDWebImage', '~> 4.0'
    pod 'Firebase'
    pod 'Firebase/Database'
    pod 'Firebase/Auth'
    pod 'FirebaseUI/Database'
    pod 'Firebase/Storage'
    pod 'Firebase/Core'

end

target '-' do

extension_pod
pod 'LGSideMenuController'
pod 'Firebase/MLVision'
pod 'Firebase/MLVisionTextModel'
#pod 'FirebaseUI', '~> 5.0'
pod 'Firebase/Messaging'
pod 'TOCropViewController'
# [START google_pod]
pod 'GoogleSignIn', '4.1.2'
pod 'ARSLineProgress'
#pod 'TesseractOCRiOS', '4.0.0'
# [END google_pod]
pod 'TwitterKit'
pod 'DateTools'
pod 'Fabric'

  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  # Pods for -

  target '-Tests' do
    inherit! :search_paths
    # Pods for testing
  end

  target '-UITests' do
    inherit! :search_paths
    # Pods for testing
  end

  target '-E' do

      extension_pod

      end

end

到目前为止我为更新我的 Firebase/Auth 存储库所做的命令,

  • pod 更新“Firebase”
  • pod 更新“Firebase/Auth”
  • pod 安装 --no-repo-update
  • pod repo update && pod update 'Firebase/Auth'

所有这些都显示如下,但没有更新到 pod outdated 显示的特定版本,我是否缺少一些命令来进行更新过程?

Updating local specs repositories
Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project
Pod installation complete! There are 17 dependencies from the Podfile and 33 total pods installed.

最佳答案

另一个依赖项要求 FirebaseAuth 为较低版本。请参阅 Podfile.lock 以获取详细信息。

请注意,您要更新 FirebaseAuth pod - 而不是 Firebase/Auth,后者是 Firebase< 中的 Auth 子规范 pod.

这可能与将 GoogleSignIn pod 锁定到旧版本有关。

关于ios - pod 未更新,即使它显示通过 'pod outdated' 可用的更新,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58726605/

相关文章:

ios - UIView 内 UITableView 上方的空白区域

ios - CollectionView-将pdf文件拖放到collectionView上(loadObject(ofClass :)无法正常工作)

ios - 自定义 UIButton Swift 2.0

ios - 表格中的复选框

ios - 将相互依赖的 Cocoapods 推送到 Repo CDN - 最终一致性问题

javascript - 使用 forEach Firebase Cloud Functions 时出现未处理的错误 TypeError : snapshot. val 不是函数

javascript - 如何在注销时注销 FCM 设备 token 和服务 worker 以及如何重新初始化 Firebase 应用程序?

Firebase 客户端扇出性能

xcode - 如何使有关 MobileCoreServices 和 AssetsLibrary 的 Xcode 11.4 警告静音?

ios - 框架和库的矛盾定义