Xcode报错提示:“Info.plist couldn't be opened because there is no such file”

修改了Info.plist的实际文件位置(项目和单元测试对应不同的Info.plist),报错: could not read data from '/Users/xxxxx/Desktop/gsk/zhsy/zhsy/Info.plist': The file “Info.plist” couldn’t be opened because there is no such file.

情景1.如果有单元测试,那就设置一下单元测试target的info,与项目target不是一个路径。

Xcode报错提示:“Info.plist couldn't be opened because there is no such file”_第1张图片

情景2.如果已经删除单元测试相关文件,则是删的不够彻底,把单元测试的target也删掉就OK了。

Xcode报错提示:“Info.plist couldn't be opened because there is no such file”_第2张图片

你可能感兴趣的:(Xcode报错提示:“Info.plist couldn't be opened because there is no such file”)