Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

A simple location services program was working fine on my machine and suddenly stopped working. Upon further exploring the problem, I realized that some process has disabled location services in System Preferences » Security & Privacy » Privacy.

I checked Enable Location Services, but again it got disabled automatically.

After some research I found that it's not just my program, even built-in system functions are also failing because of this problem for example System Preferences » Date & Time » Time Zone failed to get the current location.

Every time I check Enable Location Services, I see the following error in the console logs:

16/10/12 11:23:15.636 AM [0x0-0x42042].com.apple.systempreferences: ERROR,Time,372059595.636,Function,"CLInternalSetLocationServicesEnabled",CLInternalSetLocationServicesEnabled failed
16/10/12 11:23:15.638 AM [0x0-0x42042].com.apple.systempreferences: STACK,Time,372059595.636,1   CoreLocation                        0x00007fff8f9957be CLInternalSetLocationServicesEnabled + 110


  • WiFi is on
  • I didn't install iOS Simulator
  • I use Xcode Version 4.5 (4G182)
  • I use Boot Camp and made my MacBook Pro dual boot (Mac OS X Lion and Windows 7)
  • I do only Mac development but not iOS
share|improve this question

1 Answer 1


launchctl unload /System/Library/LaunchDaemons/com.apple.locationd.plist

defaults write /System/Library/LaunchDaemons/com.apple.locationd Disabled -bool false


launchctl load /System/Library/LaunchDaemons/com.apple.locationd.plist

exit 0

share|improve this answer
I think your answer would benefit from a little explanation and proper formatting. –  Sami Laine Apr 12 '14 at 8:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.