【发布时间】:2016-01-08 15:20:45
【问题描述】:
我在 Xcode 上为 swift 应用程序安装 Firebase 时遇到问题。
我收到了这个错误:
pod 无法找到
Firebase (>= 2.5.0)的规范
我的 Podfile 是这个:
# Uncomment this line to define a global platform for your project
# platform :ios, '8.0'
# Uncomment this line if you're using Swift
use_frameworks!
pod 'Firebase', '>= 2.5.0'
target 'banana' do
end
target 'bananaTests' do
end
target 'bananaUITests' do
end
我不知道为什么,因为我按照 Firebase 教程的每个步骤进行操作。
【问题讨论】:
-
我发现基本上重新安装 cocoapods 可以帮助解决这个烦人的问题
-
你用的是什么版本的 cocoapods?
-
当我只写 pod 'Firebase' 时,我也遇到了一个错误“无法找到
Firebase的规范”我得到了 cocoapods 的 2.0.0 版本