could not read data from '/Users/xxxx/myapp-Info.plist'

xcode编译报错如下:
could not read data from '/Users/iamme/Documents/XCode/myapp/myapp/myapp-Info.plist': The file “myapp-Info.plist” couldn’t be opened because there is no such file.

出现此错误的原因: 项目中的plist文件名或路径 和 TARGETS
- Build Setting - Packaging中设置的不一样。

如上图,我的plist文件名虽然是对的,但是这里的文件名后面多了个空格,难怪对比了半天也找不出问题。。。

我之前已经碰到过这个问题,今天再次碰到就记下来。

 

posted @ 2014-12-07 18:05  2014_4_30  阅读(2493)  评论(0编辑  收藏  举报