ios - 找到 `Firebase/Auth` 依赖项,但它们需要更高的最低部署目标

标签 ios swift google-api firebase

Google 刚刚更新了他们的 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 文件。

platform :ios, '9.0'

pod 'Firebase/Core'

target 'Unity-iPhone' do

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

关于ios - 找到 `Firebase/Auth` 依赖项,但它们需要更高的最低部署目标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37335196/

相关文章:

javascript - 为谷歌登录按钮使用自定义图像

html - 试图在 safari 中禁用滚动

swift - 检查 Swift 中常量的值

ios - UITableViewCell 通过标签大小自动调整高度而不使用自动布局

ios - 尝试舍入17.775

c# - 为什么我对 Google 自定义搜索 API 的调用失败并显示请求错误(无效参数)?

没有文档和示例代码的 iOS Pin It SDK

iphone - 如何以有效的方式为 IOS 应用程序创建 Sqlite 数据库?

iOS/Swift - 第一次使用后无法让键盘外观移动 View

java - 使用 Google Drive API 时不显示上传的文件