“Objective-C 桥接头文件"Build Settings 中的条目不会出现在 Xcode 8.3 中 [英] "Objective-C Bridging Header" entry in Build Settings does not appear in Xcode 8.3

查看:31
本文介绍了“Objective-C 桥接头文件"Build Settings 中的条目不会出现在 Xcode 8.3 中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将一些库的 Objective-C 文件添加到我的项目中,并且我自己创建了 MyProject-Bridging-Header.h 文件.但是现在我无法设置它的路径,因为在项目的构建设置中我没有找到 Objective-C Bridging Header 条目.

I need to add some Objective-C files of a library to my project, and I created the MyProject-Bridging-Header.h file myself. But now I'm not able to set its path because in the project's Build Settings I don't find the Objective-C Bridging Header entry.

其他人有同样的经历吗?我该如何解决这个问题?

Is somebody else experiencing the same? How could I solve this?

推荐答案

在 Build Setting 中选择all"而不是basic"

In Build Setting choose "all" instead of "basic"

这篇关于“Objective-C 桥接头文件"Build Settings 中的条目不会出现在 Xcode 8.3 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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