gpt4 book ai didi

ios - 运行 pod update 后构建失败

转载 作者:搜寻专家 更新时间:2023-11-01 05:39:15 25 4
gpt4 key购买 nike

我运行了 pod update 并更新了两个库。然后我打开 xcode 并尝试构建和运行应用程序,但是更新的库都无法构建,一个给出了 65 个编译错误,另一个给出了 27 个。

我试过了

  • 正在将 cocoapods 更新到最新版本,但没有任何区别
  • pod cache clean --all,也没有区别
  • 已确认 ONLY_ACTIVE_ARCH 在 pod 和我的应用程序中设置相同(均已设置)
  • 恢复到以前版本的库,尽管在此之前使用了几个月没有问题,但仍然存在编译错误

未编译的库是 SwiftyJSON 和 Kingfisher。

这是正在产生的错误示例,左 Pane 中选定的错误是右 Pane 中的顶部错误。 Here is a sample of the errors being produced, the selected error in the left pane is the top error in the right pane

还有哪些其他问题可能导致此问题?

编辑:pod 文件

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

pod 'Starscream', '~> 0.9.3'
pod 'Kingfisher', '~> 1.5'
pod 'MBProgressHUD', '~> 0.9.1'
pod 'SwiftyJSON', :git => 'https://github.com/SwiftyJSON/SwiftyJSON.git', :branch => 'master'

最佳答案

所以我实际上没有关于导致此问题的解决方案,但更新到 Xcode 7 修复了它。

关于ios - 运行 pod update 后构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32706101/

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