Firebase Pod无法正确安装

时间:2020-04-28 16:02:17

标签: firebase cocoapods

我正在尝试将一些Firebase Pod安装到我的项目中,但是在“终端”窗口中收到以下错误消息;

[!] Unable to read the license file 'LICENSE' for the spec 'Firebase (6.21.0)'

这是我的podfile;

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'UberTutorial' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for UberTutorial
  pod 'Firebase/Core'
  pod 'Firebase/Database'
  pod 'Firebase/Auth'
  pod 'Firebase/Storage'
  pod 'GeoFire', '>= 1.1'

end

1 个答案:

答案 0 :(得分:0)

我做到了...

  1. 删除派生数据。
  2. 使用命令+ shift + K进行完全清除。
  3. 再次构建项目,仍然是相同的错误。
  4. 再次删除派生数据。
  5. 再次完全清洁。
  6. 注释荚线。
  7. 安装Pod。
  8. 取消注释窗格行。
  9. 安装Pod。
  10. 再次构建项目-成功!!!