Remove used of CLLocationManager.purpose. Set NSLocationUsageDescription in info.plist instead.