Location Manager error

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

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>

@interface UntitledViewController : UIViewController <CLLocationManagerDelegate> {
    CLLocationManager*      locationManager;
    CLLocation*             locationObject;


Hope it helps!!

Need Your Help

nivo slider and drop down menu doesnt work in IE

jquery internet-explorer menu drop-down-menu slider

Does anyone has any idea why drop down menu in IE disappear under nivo slider? tried to play with z-index, didn't help, i also know that drop down menus dissappear under flash content, but this is ...

How do I make function that needs to do this?

c++ arrays structure dynamic-memory-allocation

I am working in c++ with structs and dynamic allocation,and i need to make function that automatically increases the size of array: