安装Firebase 2.4.3 cocoapods

问题描述 投票:0回答:1

我正在尝试使用cocoapods将Firebase安装到我的项目中。我通过添加行修改了pod文件

pod 'Firebase', '>= 2.4.3'

当我输入pod install到终端时它给了我一个错误:

[!]无法满足以下要求:

  • Firebase (>= 2.4.3)要求Podfile

我试图取消注释并将全局“平台”指令更改为“platform:ios,'9.0'”,但它没有帮助我,错误仍然存​​在。

ios firebase cocoapods podfile
1个回答
-1
投票

试试这一行:

pod 'Firebase', '~> 2.4'
© www.soinside.com 2019 - 2024. All rights reserved.