前沿:xcode6中去掉了pch,爲了一些瑣碎的頭文件引用,加快了 編譯速度!xcode
xcode6添加pch文件方法ui
1. 右鍵Supporting File,選擇「New File」 spa
2. 選擇Others——「PCH File」code
3. 輸入新建立的pch文件的名稱blog
4. 配置當前編譯環境,引用pch File.編譯
依次點擊「控制面板」——「Build Settings」 ——「Apple LLVM7.0 - Language」 ,雙擊「Prefix Header」 右側的空白區域,再把新建立的pch文件拖到彈出的輸入框中便可。配置