Resetting mac location permission

I have given location permission for the app i'm developing. Now i need to reset location permission and want to see the permission pop-up.

I have tried tccutil reset and /var/db/locationd/clients.plist is not accessible. Both are failing even with sudo.

Please suggest any methods.

Replies

System Preferences > Security & Privacy > Privacy > Location Services

Allow the apps and services below to determine your location.

Choose the app, and untick it's permission.

  • These steps only disables permission. But i need to reset permission to default. It should ask for allowing location permission popup on opening app after resetting.

  • Have you tried deleting the app, then re-installing it?

Add a Comment

I have the same issue. I tried to delete /var/db/locationd/clients.plist and /private/var/db/locationd/clients.plist after booting into single user mode and the clients.plist reappears as it was before. As suggested above, I also deleted all copies of my app without success. The specific problem I have is that "System Preferences > Security & Privacy > Privacy > Location Services" does not show my app but the clients.plist still contains two entries and seems to be somehow corrupted. So I am in eager need to delete or modify the plist. Any solution on this? Running macOS 12.4