[英]Project Navigator Files All Missing
So I decided to rename my project . 所以我决定重命名我的项目 。 After that I proceeded by searching for instances of the app's previous name within my project, and replacing it with the new one.
之后,我在项目中搜索该应用程序以前名称的实例,然后将其替换为新实例。
Now, when I open my .xcodeproj
, all the references to my files are missing and they're displayed red. 现在,当我打开
.xcodeproj
,所有对文件的引用都丢失了,并且显示为红色。
Where can I find the settings for the project root path? 在哪里可以找到项目根路径的设置?
I think that to rename a project you should use the Xcode Utility ( click on the Project menu and select Rename) : 我认为要重命名项目,您应该使用Xcode实用程序(单击“项目”菜单上的,然后选择“重命名”):
In your case make sure that you have renamed the ".xcodeproj" to ".xcodeproj" and then edit ".xcodeproj/project.pbxproj" and replace the "appropriate" occurrences of "" with "" 在您的情况下,请确保已将“ .xcodeproj”重命名为“ .xcodeproj”,然后编辑“ .xcodeproj / project.pbxproj”,并将“”的“适当”出现替换为“”
Take a look at this utility : Xcode-project-renamer that should automate the procedure. 看一下这个实用程序: Xcode-project-renamer ,它可以自动执行该过程。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.