2
votes
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

2

2 Answers

8
votes

You must link your binary to CoreLocation.framework. That's all.

1
votes

Have you linked your binary to CoreLocation.Framework? This is how you link frameworks to your binary.

The answer to this question will also help you to link framework with your project