title: locationManager:rangingBeaconsDidFailForRegion:withError: kCLErrorDomain 16
body: <p>I have read <a href="https://stackoverflow.com/questions/20164952/cllocationmanager-kclerrordomain-codes">CLLocationManager kCLErrorDomain Codes?</a> as well as <a href="https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CLLocationManagerDelegate_Protocol/CLLocationManagerDelegate/CLLocationManagerDelegate.html#//apple_ref/occ/intfm/CLLocationManagerDelegate/locationManager:rangingBeaconsDidFailForRegion:withError:" rel="nofollow noreferrer">Apple Docs</a></p>
  
  <p>I check to make sure ranging is available before calling startRangingBeaconsInRegion: and I am also checking if ranging is available while in the locationManager:rangingBeaconsDidFailForRegion:withError: method.  Returns true both times.  </p>
  
  <p>When I get the set of monitoredRegions, my beacon is in the set (so registering for monitoring is working). </p>
  
  <p>I have read that error 16 can mean ranging is unavailable, bluetooth could be off, location services could be off, airplane mode could be on, I have checked them all and all are available and running (obviously not in airplane mode).</p>
  
  <p>What could be causing the ranging to fail, every time I run the app?</p>