错误:无法打开文件"Info.plist",因为没有这样的文件 [英] Error: The file “Info.plist” couldn’t be opened because there is no such file
问题描述
我已经从安装了最新Xcode的另一台计算机上移动了我的项目.但是现在当我正在运行项目时,它给我的错误是
I have move my project from another machine with latest Xcode installed in it. But now when i'm running project it giving me error as
Info.plist:0:错误:正在读取数据:文件"Info.plist"不能为 已打开,因为没有此类文件.
Info.plist:0: error: reading data: The file "Info.plist" couldn’t be opened because there is no such file.
以前运行的项目没有问题,但是现在在新系统上的项目有错误.以前的版本是Xcode 7.3.
Previously project running with no issue but now on new system project has error. Previous version was Xcode 7.3.
推荐答案
请尝试以下两种方法之一:-
Please try either of the two ways :-
第一次尝试:
针对该特定错误实例的解决方案是由于没有这样的文件,无法打开Info.plist"是因为我删除了"Project Tests"文件夹中的所有文件,但仍然有我的目标下面列出了项目测试".删除测试"目标后,项目成功构建.
The solution for this particular instance of the error was "Info.plist couldn't be opened because there is no such file" was that I had deleted all of the files in the "Project Tests" folder, but was still had "Project Tests" listed under my targets. After deleting the "tests" target, the project built successfully.
最后一次尝试:
1)转到:-应用目标2)参见识别---并选择Plist
1) Go to :- App Target 2) See the Identify ---and choose the Plist
这篇关于错误:无法打开文件"Info.plist",因为没有这样的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!