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”》

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

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

    原文作者:made_China
    原文地址: https://www.jianshu.com/p/3608b182e813
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞