title: IOS 9 Error Domain=kCLErrorDomain Code=0 "(null)"
body: <p>Code below should get current location. But above error is generated. Function didUpdateLocations never gets called. </p>
  
  <p>Running this on a device (iPhone 5s)iOS 9.1. Info.plist has Required device capabilities and Privacy - Location usage description configured as shown in the attached image. Please help! </p>
  
  <pre><code>let locationManager = CLLocationManager()
  
  override func viewDidLoad() {
      super.viewDidLoad()
      locationManager.delegate = self
      locationManager.requestAlwaysAuthorization()
      locationManager.requestLocation()
  }
  
  
  func locationManager(manager: CLLocationManager,
      didFailWithError error: NSError) 
      print(error.description)
  }
  
  func locationManager(manager: CLLocationManager, didUpdateLocations
        locations: [CLLocation]) {        
   print(“got location”)
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/psXKa.png"><img src="https://i.stack.imgur.com/psXKa.png" alt="Info.plist"></a></p>