Try the search, it's linked to some great forums

Tuesday, November 27, 2012

Apple Mach-O Linker Error - ARRGH!

This famously difficult to figure out compile error;
Apple Mach-O Linker Error Undefined symbols for architecture armv7: "_OBJC_CLASS_$_CPLTableViewController", referenced from: objc-class-ref in CPLCompanyViewController.o ld: symbol(s) not found for architecture armv7 collect2: ld returned 1 exit status
comes up at unexpected times and is always difficult to fix, therefore I'm gonna dedicate some time to figuring out the details and publishing a post about it.

Fix #1 Close the project, Xcode, turn off your Mac & wait a few days.  After fiddling around with deleting and the reimporting a variety of suspect files (this was suggested online). I shut down my laptop & tryed it again the next day.  No Mach-O error, go figger!