error: The file “Info.plist” couldn’t be opened because there is no such file.

error: The file “Info.plist” couldn’t be opened because there is no such file._第1张图片
error: The file “Info.plist” couldn’t be opened because there is no such file.

Info.plist这个文件不能够被打开,因为这里没有像这样子的文件。

我先检查Info.plist的配置信息。(导致这样子的报错有很多种原因,常见的是你xib或是代码进行了什么操作,没有去Info.plist添加响应的配置)

error: The file “Info.plist” couldn’t be opened because there is no such file._第2张图片

而后想着我storyboard里面配置的是iOS7 and later的:


而我项目工程里面还没有去设置,把Deployment Target设置为7.0就好了。事实上就是因为我没有设置Deployment Target,运行模拟器是6s的,它找不到指定文件可以调用模拟器的??这样子说会不会有点问题呃??

error: The file “Info.plist” couldn’t be opened because there is no such file._第3张图片

你可能感兴趣的:(error: The file “Info.plist” couldn’t be opened because there is no such file.)