Xcode6中添加pch文件

在xcode6中新建一个项目是没有默认的pch文件了,需要自己建一个,首先建一个pch.file的文件,其次,修改工程配置文件,将刚刚创建的PCH file的路径添加到building setting中的precompile header选项中去,注意debug和release两栏都要添加:配置precompile prefix header为yes

 

posted @ 2014-12-23 15:27  老皮硕  阅读(134)  评论(0编辑  收藏  举报