My working code is suddenly giving this error when I upgraded to XCode 6.2
"ERROR: locationmanager does not have a member named verbosedictionary"
This is the line in which it is throwing error:
verboseMessage = verboseMessageDictionary[verboseKey]!
------------------ Reference code in LocationManager.swift
internal func locationManager(manager: CLLocationManager!,
didChangeAuthorizationStatus status: CLAuthorizationStatus) {
var hasAuthorised = false
var verboseKey = status
switch status {
case CLAuthorizationStatus.Restricted:
locationStatus = "Restricted Access"
case CLAuthorizationStatus.Denied:
locationStatus = "Denied access"
case CLAuthorizationStatus.NotDetermined:
locationStatus = "Not determined"
default:
locationStatus = "Allowed access"
hasAuthorised = true
}
verboseMessage = verboseMessageDictionary[verboseKey]!