What happened to the OP sounds awful, and I'm not sure there's anything to be done if he hasn't backed up or checked an earlier version of the project in. He could open the project.xcodeproj file in a text editor (a good one, not TextEdit or Word) and see if anything is obviously wrong. Maybe the unwanted files appear at conspicuous places, with unique identifiers that can be extricated from the rest of the project. But I am not optimistic; the strange behavior he describes probably comes of some essential part of the project file being completely trashed.
The likeliest solution — incredibly tedious, but foolproof — would be to rebuild the project by hand.
On 10 Jul 2011, at 6:18 PM, David Frantz wrote:
Man I find this to be a bit arrogant. More so the question revolved around an issue with the IDE, I didn't see any mention of a revision control system.
It isn't arrogance. It's humility earned through years of frustration and loss with hardware and tool failures, in addition to personal misadventure. Tools fail. All of them: cheap, expensive, brand-new, mature. Such is the life of a nontrivial developer. One way to make that life tolerable is to make constant backups and put every file you ever want to see again into version control, immediately, and check it in whenever changes to it are at a logical stopping point (or lunch).
What makes people arrogant is not having lived long enough to know the consequences.
It may not be charitable to a man who has fallen from a window, to say that he should have fastened his safety harness, but this is, as you point out, a forum. Other people are here. The bystanders are allowed to remind each other to fasten their safety harnesses.
— F