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.

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.

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

Did you ever find a solution?

My solution was found on superuser.com questions/526183

since apple does allow me to post the entire url.

you basically make a copy of clients.plist, convert it to xml, edit to remove the app you do not like, convert it to binary, restart killall locationd

since apple does allow me to post the entire url.

DevForums does let you post arbitrary URLs, you just have to do it in the ‘clear’. Like so:

https://superuser.com/questions/526183/remove-applications-from-location-services-in-security-privacy-on-mac-os-x-10

See tip 14 in (the increasingly inaccurately named) Quinn’s Top Ten DevForums Tips.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Change the bundleID temporarily (repeatedly if needed) and it should treat the app as a new entry and pop up the message. Once you get the behavior you want, set the bundleID back to the original one.

Resetting mac location permission
 
 
Q