我从 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 运行该项目时,不幸的是错误日志如下:
错误:未能发出预编译头
'/var/folders/kd/4gh0_kxx3jx4thjb_sssmmcw0000gn/T/EvoRadio-Bridging-Header-97bd5f.pch'
用于桥接头
'/Users/ringo/Downloads/EvoRadio-master/EvoRadio/Resources/EvoRadio-Bridging-Header.h'
I have googled, but no such issue.The error means it needs a PCH file?
This is my .pch
header configuration:
It can't solve it.
怎样制作呢?
我已经尝试了答案中提到的所有上述步骤,但没有任何效果对我来说,问题基本上是项目和 podfile 中的部署目标版本。
在我的项目中,部署目标是 10.0,而在我的 podfile 中,部署目标是 11.0。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)