Xcode 6 中的 PCH 文件 [英] PCH File in Xcode 6

查看:29
本文介绍了Xcode 6 中的 PCH 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我之前的项目中,我可以在 Supporting Files 下找到 .pch 文件.

In my previous projects, I can find the .pch file under Supporting Files.

但现在在 Xcode 6 中,我找不到任何 .pch 文件.我应该执行哪些步骤来生成此文件?

But now in Xcode 6, I couldn't find any .pch file. Any steps should I do to produce this file?

推荐答案

在 File-New 中添加 Others 下的 pch 文件...不要忘记将其添加到您的 LLVM6.0 - Build 的 Language 部分设置为 Project/whateveryounamedyourpchfile.pch

Add the pch file which is under Others in File-New...and don't forget to add it to your LLVM6.0 - Language section of Build Settings as Project/whateveryounamedyourpchfile.pch

这篇关于Xcode 6 中的 PCH 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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