iOS项目添加.pch文件 / How to add a .pch file to an iOS project
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了iOS项目添加.pch文件 / How to add a .pch file to an iOS project相关的知识,希望对你有一定的参考价值。
1.Create a .pch file.
2.Write your macro, headfiles or something. Here is my prefixHeader.pch
3.Choose the Project and select "Build Settings"
>>> find with keywords "prefix"
>>>make the "Precompile Prefix Header" is "yes".
4.Tell Xcode where have you put your .pch file.
Select "Prefix Header", Double click the content
and write "$(SRCROOT)/magicNote/prefixHeader.pch"
or "$(PROJECT_DIR)/your Project name/your prefix file name.pch" as below.
5.Done.Save and run.
以上是关于iOS项目添加.pch文件 / How to add a .pch file to an iOS project的主要内容,如果未能解决你的问题,请参考以下文章
Xcode6为什么干掉pch(Precompile Prefix Header)&如何添加pch文件
how to deployment Office 365 AD FS SSO --布署 Office 365 AD FS SSO