Bootstrap_look_up failed (44e) Xcode 4.1, Mac OSX Lion

So, I updated Lion on my Mac, which meant that I needed to get Xcode 4.1. I had a location-based application, and now when I try to find my location, I get this printed to the console, which I do not know what it means:

bootstrap_look_up failed (44e) 

Any thoughts? Thanks.

+6
source share
2 answers

I have the same problem. I did not find a solution to run applications on the simulator, but it works if you install the application on your phone and run it from there.

+5
source
 @implementation CLLocationManager (TemporaryHack) - (void)hackLocationFix { CLLocation *location = [[CLLocation alloc] initWithLatitude:37.785834 longitude:-122.406417]; [[self delegate] locationManager:self didUpdateToLocation:location fromLocation:nil]; } - (void)startUpdatingLocation { [self performSelector:@selector(hackLocationFix) withObject:nil afterDelay:0.1]; } 

@end Select all the code and paste it into the AppDelegate.m file before or after @implementation AppDelegate @ end I am not a good teacher if you have a question that you can ask again.

0
source

Source: https://habr.com/ru/post/893547/


All Articles