How to Reset macOS Privacy Permissions
I learned this simple trick today while working on Macrowave and needed to reset the privacy permission for using the microphone to test some edge-cases.
It's a simple as:
tccutil reset Microphone com.lucas-fischer.Macrowave
The same also works for the camera permission:
tccutil reset Camera com.example.app
You can also use it to reset all permissions of a single app, which is especially useful if you want to test the onboarding of your app:
tccutil reset All com.apple.Terminal
Or to remove permissions to a system service for all apps:
tccutil reset AddressBook