Self Location Manager Delegate error in Xcode 6
问题 I'm using code from: http://www.veasoftware.com/tutorials/2014/6/17/xcode-5-tutorial-ios-7-simple-compass-app In Xcode 6 I get the error below. The app still runs, but this error is really annoying me. self.locationManager.delegate = self; //Assigning to 'id<CLLocationManagerDelegate>' from incompatible type 'ViewController *const __strong' 回答1: I guess you forgot to comply with the Core Location Delegate protocol by adding <CLLocationManagerDelegate> after @interface in the header file. 回答2: