gpt4 book ai didi

ios - 缺少 GULSwizzler.h 文件

转载 作者:行者123 更新时间:2023-11-28 14:05:32 25 4
gpt4 key购买 nike

我已将一个 iOS/Swift 项目升级到最新的 Firebase pod。进行了以下更改:

  • Firebase 5.11.0(原为 5.10.0)
  • FirebaseAnalytics 5.3.0(原为 5.2.0)
  • FirebaseCore 5.1.6(原为 5.1.5)
  • FirebaseInstanceID 3.3.0(原为 3.2.2)
  • GoogleAppMeasurement 5.3.0(原为 5.2.0)
  • GoogleUtilities 5.3.4(原为 5.3.3)
  • nanopb 0.3.901(原为 0.3.8)

在构建时导入到 GoogleUtilities 中的丢失文件出现错误:

'Private/GULSwizzler.h' file not found

我的 pod 导入文件包含以下内容:

pod 'Firebase/Core'
pod 'Firebase/Storage'
pod 'Firebase/Database'
pod 'Firebase/Auth'
pod 'Firebase/AdMob'
pod 'GoogleSymbolUtilities'
pod 'GoogleInterchangeUtilities'

有没有人遇到过这个问题或知道解决方案?

********************************* 编辑 ************** *********************我在 GoogleUtilities 下看到的内容如下所示。我注意到丢失的文件的 .h 符号变暗了。 enter image description here

最佳答案

似乎 GULSwizzler.h 没有正确安装。对我来说,它安装在不同的位置:

 $ find . | grep GULSwizzler.h
./Pods/GoogleUtilities/GoogleUtilities/MethodSwizzler/Private/GULSwizzler.h

这里有一些尝试:

  • 从干净的环境重新安装:pod deintegratepod install
  • 确保您拥有最新版本的 CocoaPods:

    $ pod --version
    1.5.3

可能不相关,但很奇怪:GoogleSymbolUtilitiesGoogleInterchangeUtilities 是已弃用的私有(private) pod,它们从未打算添加到 Podfiles。

关于ios - 缺少 GULSwizzler.h 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53021260/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com