Weird error, never seen before when compiling
MacBook Pro with Retina display, OS X Mountain Lion (10.8.2)
MacBook Pro with Retina display, OS X Mountain Lion (10.8.2)
Do you have a main.m file in your project?
Yes, I do.
Hmm that's the usual cause someone mistakenly deleting the main file or messing with main() function in some other way.
If you say its there and the file is OK then what changes took place between the time this compiled and now that you are having the problem?
Something must have changed for this to stop working. Find that and you'll most likely find the fix.
reagards
Well, after tinkering around a bit, I accidently deleted it. How would I put it back. I have sice quit xcode, so I cand undo.
No snapshots or source code control on the project?
If not then you should be able to make a new project using the exact same template you used to make this one and copy the main.m from that project to this one. Of course this assumes you made no changes to main.m, most developers don't
As I wrotw i your other tread on this. Just copy the main.m from a new identical project into the supporting files folder
Weird error, never seen before when compiling