Firebase没有下载pods

时间:2016-09-22 03:49:41

标签: xcode firebase cocoapods swift3

当我安装' Firebase' pod,此消息出来,我无法使用Xcode。

Lopez-MacBook-Pro:tres Lopezeselmejor$ vim Podfile
# Uncomment this line to define a global platform for your project
platform :ios, '9.0'

target 'tres' do
  # Comment this line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for tres
 'Firebase'
end

Lopez-MacBook-Pro:tres Lopezeselmejor$ pod install
Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project

[!] Please close any current Xcode sessions and use `tres.xcworkspace` for this project from now on.
Pod installation complete! There are 0 dependencies from the Podfile and 0 total
pods installed.

[!] The Podfile does not contain any dependencies.

1 个答案:

答案 0 :(得分:0)

Podfile 更改为: -

use_frameworks!
target 'tres' do

  pod 'Firebase'
end

当您的终端安装Firebase到您的应用时。关闭当前的 .xcodeProj 转到您的应用文件夹,您会看到 .xcworkspace 文件,打开该文件在那里做进一步的编码..

PS: - 在swift3中,您可能会在测试文件中遇到一些问题..请参阅: - No such a module 'Firebase' in Tests.swift file

相关问题