1.Add new PCH file to the project - New file > Other > PCH file
2.At the project 'Build Settings' option - set the value of 'Prefix Header' to your PCH file name, with the project name as prefix - i.e. for project named 'TestProject' and PCH file named 'MyPrefixHeaderFile', add the value 'TestProject/MyPrefixHeaderFile.pch' to the plist.
本文介绍如何在项目中添加并配置预编译头(PCH)文件。主要包括:创建新的PCH文件,以及在项目的构建设置中指定该PCH文件。
2776

被折叠的 条评论
为什么被折叠?



