0

I've recently updated to xcode 6.0.1. When I run my app on the simulator, neither the

didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation

nor the

-(void) locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error

methods were called. Anybody is seeing this issue? It was working fine in xcode 5.

Getting location update on the device is fine.

Thanks!

Michael
  • 3,699
  • 4
  • 26
  • 27

2 Answers2

0

Check the documentation...the easiest way to look at references is double click the word in question and in the Quick Help tab in the right side bar it will give a description of what can be utilized...

  • (void)startUpdatingLocation

notify your delegate by calling its

locationManager:didUpdateLocations method or

  • (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation
soulshined
  • 9,612
  • 5
  • 44
  • 79
  • 1
    @Michael also verify you have the new calling methods in place...see : http://stackoverflow.com/questions/24062509/ios-8-location-services-not-working – soulshined Sep 20 '14 at 05:30
0

Make sure you ticked Allow Location Simulation in the Xcode's Scheme.

HaiN
  • 917
  • 11
  • 31