在Xcode中手动添加pch文件

在Xcode中手动添加pch文件:

一: 在工程中新建.pch文件,pch文件名通常用工程名字命名;

二: 在Targets->build Settings->Prefix Header 设置路径如:$(SRCROOT)/MyTestWorkProduct/MyTestWorkProduct.pch ,这样就可以给工程添加pch文件了

原文地址:https://www.cnblogs.com/zhou--fei/p/4931932.html