Since I was getting error "Location Manager Error : (KCLErrorDomain error 0)" I edit the scheme to set default location. i.e. Scheme > Edit Scheme > Options > Allow Location Simulation checked set default location.
Does it affect the device to get its location from GPS?