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中设置的不一样。

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

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

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

 

相关文章:

  • 2022-12-23
  • 2021-07-04
  • 2021-08-24
  • 2021-10-14
  • 2022-01-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-26
  • 2021-09-22
  • 2021-10-29
  • 2021-12-27
  • 2022-12-23
相关资源
相似解决方案