Undefined symbols for architecture i386:
“_OBJC_CLASS_$_CLLocationManager”, referenced from:
objc-class-ref in RootViewController.o “_kCLLocationAccuracyNearestTenMeters”, referenced from:
-[RootViewController locationManager] in RootViewController.o ld: symbol(s) not found for architecture i386 collect2: ld returned 1
exit status
You must link your binary to CoreLocation.framework. That’s all.