Running my app with the iOS6 simulator I am getting the following printed in the XCode console prior to viewDidLoad getting called:
viewDidLoad
Could
Please set your GPS settings active otherwise this error may occur again. Also,it is advisable to set the frame for the iPhone 5 .