Objective-C Class Reference: Symbols not found error

I was having the same issue which I resolved by adding the Framework into xCode


"_OBJC_CLASS_$_mapListViewController", referenced from: objc-class-ref-to-mapListViewController in mapViewController.o

"_OBJC_CLASS_$_mapParser", referenced from: objc-class-ref-to-mapParser in mapViewController.o

"_OBJC_CLASS_$_mapTabViewController", referenced from: objc-class-ref-to-mapTabViewController in mapViewController.o

ld: symbol(s) not found collect2: ld returned 1 exit status

Make sure all (mapListViewController,mapParser,mapTabViewController) have both @interface & @implementation

this solve my issue. i happen to miss look @implementation was missing


Most likely these three classes are missing from your project file. Check the Classes group in your XCode project to see if these three files are present. If not, then right-click the Classes group, and click Add > Existing Files to add them.

If the files are added to the project, then make sure that the implementation (.m) files for these missing classes are added to compiled sources. To check that, expand the group Targets > your application target > Compile Sources, and see if the files are present. If not, right click on "Compile Sources", and goto Add > Existing Files to add them. An alternative and maybe quicker way to do the same is by selecting the .m files for each of the missing classes, and see if the bulls eye checkbox on the far right is checked. If not, then check it and it will automatically get added to Compiled Sources.