Reputation: 315
I reopened my xcode project and the AppDelegate.h
and ViewController.m
files are red. The titles are there but they seem to be empty. Does anyone know how to retrieve these files, or are they lost? I had a decent amount of code in there so I was hoping not. I'm new to this so any basic steps type help would be greatly appreciated. Thank you!
Upvotes: 1
Views: 1361
Reputation: 380
Sounds like the files its looking for are not in the same location as they were the last time you opened the project. Find the files in question, add them back to your project, and delete the red links.
Upvotes: 0
Reputation: 23278
Check if you have deleted it by mistake. Check the physical folder to make sure the file is there. If it is there, remove the red links from Xcode and try adding it again.
Upvotes: 1