【发布时间】: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 deintegrate和pod update有帮助吗?如果没有,安装了哪些版本?查看 Podfile.lock。