Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Files in Xcode not working (names in red)

Tags:

ios

xcode7

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.

Any help would be greatly appreciated.

Link to dropbox: https://www.dropbox.com/s/omvo0saff0z9ncc/TicketekApp%202.zip?dl=0

like image 203
qwertyAV Avatar asked Nov 24 '15 09:11

qwertyAV


2 Answers

If files marked in red, they are "not found" by 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.

This will solve your problem.

like image 51
Michele Giuseppe Fadda Avatar answered Sep 29 '22 14:09

Michele Giuseppe Fadda


I solved this problem as follows: click on the Group name in which file names are showing in red colour in the Xcode navigation area (Navigator) on the left side. In the Utility area on the right side in Xcode open up File Inspector tab. There is a Field named Full Path:, click on the arrow placed last to the path. You will have popup window showing your project path. Change The Group Folder in which you already moved your files from Finder.

like image 38
Apar Parmar Avatar answered Sep 29 '22 14:09

Apar Parmar