ios – 发现了“Firebase / Auth”依赖关系,但它们需要更高的最低部署目标

前端之家收集整理的这篇文章主要介绍了ios – 发现了“Firebase / Auth”依赖关系,但它们需要更高的最低部署目标前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
谷歌刚刚更新了他们的Firebase核心产品,并且不推荐使用几种旧方法.我想要整合的一个是:Firebase / Auth,然而,导入到podfile,并运行:pod install,产生错误

[!] Unable to satisfy the following requirements:

- `Firebase/Auth` required by `Podfile`

Specs satisfying the `Firebase/Auth` dependency were found,but they required a higher minimum deployment target.

但是,在查看构建目标时,我将其设置为最新版本:

enter image description here

我怎样才能缓解这个错误

解决方法

我有同样的问题,我解决了更新我的pod文件,并将所有需求pod放在最后一个文件中,如下所示:

target 'UITests' do
  inherit! :search_paths

end
pod 'Firebase'
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Messaging'

end
#End of file

并在终端中运行:

pod update

猜你在找的iOS相关文章