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.

解决办法:设置一下单元测试target的info,项目target的Info里什么也没有、是空的。

选择General--会有一个Choose Info.plist File的选项,点击弹出一个提示框,----选择SupportingFile里面的Info.plist--解决了。

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._第2张图片

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