My app that worked fine on iOS 7 doesn\'t work with the iOS 8 SDK.
CLLocationManager doesn\'t return a location, and I don\'t see my app under
I was pulling my hair out with the same problem. Xcode gives you the error:
Trying to start
MapKitlocation updates without prompting for location authorization. Must call-[CLLocationManager requestWhenInUseAuthorization]or-[CLLocationManager requestAlwaysAuthorization]first.
But even if you implement one of the above methods, it won't prompt the user unless there is an entry in the info.plist for NSLocationAlwaysUsageDescription or NSLocationWhenInUseUsageDescription.
Add the following lines to your info.plist where the string values represent the reason you you need to access the users location
NSLocationWhenInUseUsageDescription
This application requires location services to work
NSLocationAlwaysUsageDescription
This application requires location services to work
I think these entries may have been missing since I started this project in Xcode 5. I'm guessing Xcode 6 might add default entries for these keys but have not confirmed.
You can find more information on these two Settings here