iOS app doesn't ask for location permission

As of iOS 8 you have to call one of the request... functions and add the appropriate entry to your Info.plist file, either NSLocationWhenInUseUsageDescription or NSLocationAlwaysUsageDescription.

For more information, see the reference here

Update

Make sure that

  1. the map is centered on the simulated location.
  2. Also make sure that a location is simulated. Either do so in the Debug Area (down below) of XCode (see image), or do it in the simulator under Debug > Location.

Debug Area: Location Simulation in the debug area


You need to use requestWhenInUseAuthorization and also need to create a value at yourapp-Info.plist named NSLocationWhenInUseUsageDescription


I use NSLocationAlwaysUsageDescription with the value as the text that will pop up when asking for permission, such as

"I would like permission to spy on you 24/7"

I would also add NSLocationWhenInUseUsageDescription with the value as the message.