So today I ran into a major problem. I got a problem involving my viewcontroller on xcode 4.3.2 as seen in this error message:
Undefined symbols for architecture
For me the following method worked.
In target -> Build Phases -> Compile Sources I had all .m files including those that were giving issue.
Simply I removed those .m files which were giving issue.
Finally found the answer. In your target settings, locate build phases and navigate to compile sources. Once there just ad the .m file that is getting the error to the list.