Recently, we found that if we do the following for our app, this may happen:
1. Download the app on the old iPhone, then open the app and give the location permission kCLAuthorizationStatusAuthorizedAlways
2. Back up old iPhone data
3. Restore backup data to a new phone
4. Reopen the app, then the data returned by [CLLocationManager authorizationStatus] is kCLAuthorizationStatusDenied
Specific experimental data:
iOS system: iOS12.1 -> iOS12.1.2 iOS12.1 -> iOS13.1.2
Iphone models: iphone 8p, iphonex, iphoneXR