Post

Replies

Boosts

Views

Activity

Reply to How to remove executable applications from TCC .
By "app" I mean an executable that I've installed with a .pkg installer into /usr/local/bin/. To give you more context - the reason I'm trying to revoke this permission is that it seems that after each update my app loses ability to make screenshots. This is despite the fact that in the Screen Recording preferences it can see it has permissions granted. After I install new version of my app I have to manually go into preferences, remove screen recording permissions and re-add it. Without this manual permissions re-adding the screenshots the app makes are only the background with menu bar. Maybe you can think of a better way of approaching this (than trying to revoke permission in order to force macos to show screenshot permissions dialog anew)? Can I preserve screen recording permissions after app update?
Jul ’23
Reply to How to remove executable applications from TCC .
@eskimo and how do I do this for executable that is not created with Xcode? I have a golang app that I need to reset permissions to. BTW it is silly that tccutil reset only works with bundle ID and not executable path while non-bundle executables are identified in TCC database by full path (I've checked that in /Library/Application Support/com.apple.TCC/TCC.db) Any help much apreciated.
Jul ’23