Info.plist实用程序错误:“由于没有这样的文件,无法打开Info.plist" [英] Info.plist Utility Error: "Info.plist couldn't be opened because there is no such file"

查看:460
本文介绍了Info.plist实用程序错误:“由于没有这样的文件,无法打开Info.plist"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了似乎是常见的错误,因为Xcode似乎找不到我的'Info.plist'文件.

I'm running into what seems to be common error, in that Xcode can't seem to find my 'Info.plist' file.

我已经检查了这两个StackOverflow问题的答案(无法从Info.plist )...我使用的是相对路径,而plist文件位于正确的绝对位置.类型和位置正确,如下图所示:

I've checked the answers to these two StackOverflow questions (Could not read from Info.plist and Objective C/Xcode error: The file "Info.plist" couldn’t be opened because there is no such file)...I am using a relative path, and the plist file is in the correct absolute location. The type and location are correct as shown in the image below:

我最大的担心是,这现在正在多个项目中发生,其中包括几个小时前我成功运行的项目!有人知道如何解决这个问题吗?

My biggest concern is that this is now happening on multiple projects, including one I ran successfully just a few hours ago! Does anyone know how to solve this???

编辑,我也尝试过重新安装XCODE并替换plist文件. Xcode仍然找不到'info.plist'.

EDIT I've also tried reinstalling XCODE and replacing the plist file. Xcode still can't find 'info.plist'.

注意,我想补充一点,这是针对Xcode 6.2.X的(我不记得确切的版本号,但它是Xcode 6.3.X之前的版本).

NOTE I wanted to add that this was for Xcode 6.2.X (I can't remember which version number exactly, but it was pre-Xcode 6.3.X).

推荐答案

针对该特定错误实例的解决方案是由于没有这样的文件,无法打开Info.plist"是因为我删除了所有项目测试"文件夹中的文件,但在我的目标下仍列出了项目测试".删除测试"目标后,项目成功构建.

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.

这篇关于Info.plist实用程序错误:“由于没有这样的文件,无法打开Info.plist"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆