项目中改变Info.plist位置后,报错The file “Info.plist” couldn’t be opened because there is no such file

在项目中改变了Info.plist文件的位置后,即把Info.plist文件放到新建的目录文件夹后,运行时,报错

error: could not read data from '/Users/zhangshaoyu/Desktop/DemoCamera/DemoCamera/Info.plist': The file “Info.plist” couldn’t be opened because there is no such file.

解决方案:重新设置Info.plist文件的正确路径。设置如下:



猜你喜欢

转载自blog.csdn.net/potato512/article/details/80408074
今日推荐