gpt4 book ai didi

ios - 无法为桥接 header 发出预编译 header

转载 作者:IT王子 更新时间:2023-10-29 05:07:45 25 4
gpt4 key购买 nike

我从GitHub上下载了一个项目,然后pod了下面的文件,其中一些是OBJ-C写的,我用的是桥头。

pod ‘SnapKit’
pod ‘MJRefresh’
pod ‘Alamofire’
pod ‘Kingfisher’
pod ‘MBProgressHUD’
pod ‘pop’
pod ‘EVReflection’
pod ‘StreamingKit’
pod ‘iCarousel’
pod ‘ReflectionView’

当我使用 Xcode 9.0 beta 2 运行项目时,不幸的是错误日志如下:

error: failed to emit precompiled header '/var/folders/kd/4gh0_kxx3jx4thjb_sssmmcw0000gn/T/EvoRadio-Bridging-Header-97bd5f.pch' for bridging header '/Users/ringo/Downloads/EvoRadio-master/EvoRadio/Resources/EvoRadio-Bridging-Header.h'

我用谷歌搜索过,但没有这个问题。这个错误意味着它需要一个 PCH 文件?这是我的 .pch header 配置: enter image description here解决不了。

如何制作?

最佳答案

我已经尝试了答案中提到的所有上述步骤,但对我没有任何效果,问题基本上出在项目的部署目标版本和 podfile 中。

在我的项目部署目标中是 10.0,而在我的 podfile 中是 11.0。

Scr1

scr2

关于ios - 无法为桥接 header 发出预编译 header ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45779591/

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