I am using location manager
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_CLLocationManager", referenced from:
objc-class-ref in ViewController.o
"_kCLLocationAccuracyHundredMeters", referenced from:
-[ViewController viewDidLoad] in ViewController.o
"_kCLDistanceFilterNone", referenced from:
-[ViewController viewDidLoad] in ViewController.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
I added corelocation.framework into frameworks folder of my project, the project is success on cleaning but failed and give the same three errors on building
You need to import Framework Which you have already done also add the following to your .h file where you are using the CLLocation class such as
Hope it helps!!