My app monitors user location updates (not necessarily significant location change) with:
someLocationManager = [[CLLocationManager alloc] init];
[someLocationManager setDelegate:self];
[someLocationManager startUpdatingLocation];
When app (in simulator) is in foreground everything works ok, but when suspending it to background (not terminating), I get this error to the log:
Can't endBackgroundTask: no background task exists with identifier *, or it may have already been ended
All other answers for this error have no connection to location services, but only generic background task issues.