【问题标题】:Firebase pods not installing correctlyFirebase pod 未正确安装
【发布时间】:2020-04-28 16:02:17
【问题描述】:

我正在尝试将一些 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

【问题讨论】:

    标签: firebase cocoapods


    【解决方案1】:

    我做到了……

    1. 删除派生数据。
    2. 使用 command + shift + K 完全清理。
    3. 再次构建项目,还是同样的错误。
    4. 再次删除派生数据。
    5. 再次完全清洁。
    6. 注释掉 pod 行。
    7. 安装 pod。
    8. 取消注释 pod 行。
    9. 安装 pod。
    10. 再次构建项目 - 成功!!!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-09-23
      • 1970-01-01
      • 1970-01-01
      • 2019-06-09
      • 2021-01-14
      • 2016-07-21
      • 2021-05-30
      相关资源
      最近更新 更多