注意到Xcode6建立的工程沒有prefix.pch. 因而手動建立。ui
在other下選擇pch文件code
接着到工程的build setting下設置開啓預編譯並配置路徑(文件的路徑。由於我新建在cofig文件夾下因此是這個路徑,)blog
build之後就可使用了。編譯