Using iPhone6, Xcode 8.1, running iOS 10.1.1, executing the following Swift code I keep getting
Unable to retrieve CarrierName
Error mes
On my iOS device this happens because Settings->Privacy->Location Settings<(app name)->Allow Location Settings isn't set to either "Never" or "While Using the App". Once I set it - it works.