Location detection in WatchOS simulator has been failed
问题 How to simulate a location for watchOS simulator? using with request - (void) requestLocation { locationManager = [CLLocationManager new]; locationManager.delegate = self; [locationManager requestWhenInUseAuthorization]; [locationManager requestLocation]; } I always catch an error: - (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error { // Error here if no location can be found } The error is NSError * domain: @"kCLErrorDomain" - code: 0 0x7a867970 回答1: In