本文介绍了Xcode中的文件不起作用(名称为红色)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我重命名了我的应用程序文件夹以尝试更改应用程序的名称,因为它在项目导航器中不起作用,并且当我这样做时,所有文件都显示为红色.我试图通过将文件重命名为原来的样子来修复它,但是仍然无法正常工作.

I renamed my app folder to try and change the name of the app because it didn't work in the project navigator and when I did so, all files came up in red. I have tried to fix it by renaming the files back to how they were but it still doesn't work.

任何帮助将不胜感激.

到保管箱的链接: https://www.dropbox.com/s/omvo0saff0z9ncc/TicketekApp%202.zip?dl = 0

推荐答案

如果文件标记为红色,则Xcode会找不到"这些文件.

If files marked in red, they are "not found" by Xcode.

您在Xcode之外的File Finder中移动或删除了它们.删除XCode中带有红色标记的文件,然后将它们再次添加到XCode.

You either moved or deleted them within File Finder, outside Xcode.Delete the red marked files within XCode, then add them again to XCode.

这将解决您的问题.

这篇关于Xcode中的文件不起作用(名称为红色)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-10 21:21