1

我复制了我的 app 文件夹并将其保存到桌面上的另一个目录中。现在,我的原始应用程序(或副本)无法运行,因为它说 info.plist 无法从中读取:

无法从“/Users/xxxxxxxx/Desktop/Development/Apps/EUS/EUS Calculator/EUS Calculator/EUS Calculator-Info.plist”读取数据:文件“EUS Calculator-Info.plist”无法打开,因为有是没有这样的文件。

但是,EUS Calculator-Info.plist 就在那个路径上。我浏览了 SO 和 Google,似乎找不到解决方案。我该如何解决这个问题?

4

2 回答 2

1

选择您的目标,然后选择构建设置。里面有一个叫做“包装”的部分

编辑Info.plist File设置。它应该与您的项目文件相关。

于 2014-01-08T18:23:29.363 回答
0

Based on your comments

I never moved it, I simply made a copy. The original is on my Desktop... Desktop/Development/Apps/...I made a copy, pasted that into Desktop/GIT/ and ever since then I have been getting this error

and your error says

could not read data from '/Users/xxxxxxxx/Desktop/Development/Apps/EUS/EUS Calculator/EUS Calculator/EUS Calculator-Info.plist': 
The file “EUS Calculator-Info.plist” couldn’t be opened because there is no such file.

so it seems that the info.plist is pointing to the original one.

于 2013-02-11T20:28:25.823 回答