Info.plist与Prefix.pch修改文件位置遇到的问题及解决方法

如果要更改Info.plist与Prefix.pch文件实际路径,也就是实际文件的位置(不是在工程中的组织路径),需要到Build Settings中修改对应的配置,不然工程就找不到对应的Info.plist与Prefix.pch文件。  
报错情况:

1、Info.plist文件路径错误

error: could not read data from '/Users/sf_gxd/Desktop/Gasake/Gasake/Gasake-Info.plist': The file “Gasake-Info.plist” couldn’t be opened because there is no such file.  
2、prefix.pch文件路径错误  
clang: error: no such file or directory: '/Users/sf_gxd/Desktop/Gasake/Gasake/Gasake-Prefix.pch'  
clang: error: no input files  
解决方案:将路径  提示不停的追着改下去就好了


posted @ 2014-12-04 19:49  敬川  阅读(180)  评论(0编辑  收藏  举报