【问题标题】:IOS Firebase dependencies have stopped compilingIOS Firebase 依赖项已停止编译
【发布时间】:2021-06-21 03:51:58
【问题描述】:

在 3 月 22 日,这些依赖项的构建没有错误。现在我在构建 xcode 时遇到错误:

[22:15:36][步骤 6/10]

/Users/user/development/buildAgent/work/668201d61296570e/build/apps/MyApp/CocoaPods/Pods/GoogleDataTransport/GoogleDataTransport/GDTCCTLibrary/GDTCCTUploadOperation.m:36:9: fatal error: 'GoogleUtilities/GULURLSessionDataResponse.h' file not found
[22:15:36][Step 6/10] #import <GoogleUtilities/GULURLSessionDataResponse.h>

Podfile 内容:

...
target 'MyApp' do
    pod 'Firebase/Storage'
    pod 'Firebase/Crashlytics' 
    pod 'Firebase/Analytics'
end
...

构建日志显示 cocoapods 库的版本已更改。依赖于旧日志,我还没有设法公开以前的可行版本。

如何解决这种情况?

【问题讨论】:

  • pod deintegratepod update 有帮助吗?如果没有,安装了哪些版本?查看 Podfile.lock。

标签: ios firebase cocoapods


【解决方案1】:

这里没有足够的数据知道这是否是同一个问题,但添加以下解决了具有相同症状的issue here

添加到 Podfile:platform :ios, '10.0'

【讨论】:

  • 它有帮助。谢谢。我在 Podfile 中指定了“ios 9”,尽管 xcode 构建参数早已是第 10 个。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2014-03-22
  • 1970-01-01
  • 2013-04-21
  • 2019-11-02
  • 1970-01-01
  • 1970-01-01
  • 2012-07-16
相关资源
最近更新 更多