【转载】Xcode6中添加pch文件

//原文地址:http://www.cnblogs.com/YouXianMing/p/3989155.html

 

1. 新建工程:

 

2. 创建pch文件:cmd+n->other->PCH file->demo.pch->create

 

3. 在setting里面进行设置:product->cmd+f->prefix->Prefix Header->输入 $(SRCROOT)/工程名/demo.pch->回车

 

4. 一切尽在不言中:)

posted @ 2016-01-02 18:03  Bo-tree  阅读(168)  评论(0)    收藏  举报