Objective-C桥接标头不可见 [英] Objective-C Bridging Header not visible

查看:119
本文介绍了Objective-C桥接标头不可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Xcode 8.0,我已经手动创建了Swift Bridging Header。但是我在 Swift Compiler – Code Generation 下找不到选项 Ojective-C Bridging Header 。 (在目标下)。
请参阅屏幕截图。

I am using Xcode 8.0, I have created Swift Bridging Header Manually. But I could not find the option Ojective-C Bridging Header under Swift Compiler – Code Generation. (under Targets). Please see the screenshot. Anything wrong?

推荐答案

构建设置部分中,选择全部标签,而不是 Basic Customized 然后搜索 Bridging Header ,您会在快速Comipler-常规部分。就像下面的图片一样。

In the Build Setting Section select the All tab instead of Basic and Customized then search for Bridging Header you will find it inside the Swift Comipler - General section. Same like below image.

这篇关于Objective-C桥接标头不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆