title: iOS 14 beta allow location once is going to locationManager didFailWithError
body: <p>I am checking my app on iOS 14 beta and In location permission If I select Allow location once it is going to Location failedWithError method and the error object is</p>
  <blockquote>
  <p>Domain=kCLErrorDomain Code=0 &quot;(null)&quot;, error.localizedDescription is
  The operation couldn’t be completed. (kCLErrorDomain error 0.)</p>
  </blockquote>
  <pre><code>-(void)loadFetchLocationDetails
  {
      if (locationManager == nil)
          locationManager = [[CLLocationManager alloc] init];
      
      locationManager.delegate = self;
      locationManager.desiredAccuracy = kCLLocationAccuracyBest;
      
      if ([locationManager respondsToSelector:@selector(requestWhenInUseAuthorization)]) {
          [locationManager requestWhenInUseAuthorization];
      }
      [locationManager startUpdatingLocation];
      [locationManager startMonitoringSignificantLocationChanges];
  }
  
  
  #pragma mark - CLLocationManagerDelegate Method
  
  - (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray&lt;CLLocation *&gt; *)locations
  {
  
  }
  
  - (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error
  {
  
  }
  </code></pre>
  <p>Can someone please help me to solve this.</p>