1.创建pch文件 2.在build settings中搜索prefix header,将新建pch文件拖到对应的prefix header地方,从右往左数,第二个/左边的内容替换成$(SRCROOT)即可