CLLocationManager.locationServicesEnabled hangs for > 30 sec
Originator: | futuretap | ||
Number: | rdar://34973609 | Date Originated: | 13-Okt.-2017 11:03 AM |
Status: | Open | Resolved: | |
Product: | iOS + SDK | Product Version: | 11.1 beta 2 |
Classification: | Crash/Hang/Data Loss | Reproducible: | Always |
Summary: Calls to CLLocationManager.locationServicesEnabled hang for more than 30 seconds. Steps to Reproduce: Call CLLocationManager.locationServicesEnabled Expected Results: The call should return immediately. Actual Results: The call blocks for more than 30 seconds. Version: 11.1 beta 2 Notes: This is a regression from iOS 11.0.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Turns out that the subsequent call
CLLocationManager.authorizationStatus
was the culprit for the hang.