简体   繁体   中英

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.

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) :

重命名项目

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 ""

Take a look at this utility : Xcode-project-renamer that should automate the procedure.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM