Your error come only when you are in the simulator, right :) ?
If you try the app on your iPhone, it will not show the error.
If you want to solve the error in the simulator, each time that you launch the app, choose a location in the menu of the simulator app ~> Debug ~> Location.