6

So I upgraded to Mojave recently and I got some app permission popups requesting access to system events, etc.

I didn't recognise some of these the apps and didn't allow access.

Now it turns out that this is being used by xcodebuild and it is failing.

How can I reset all these app permissions. So that I get the popup again and I can allow this time.

PS: I'm not asking about file permissions.

  • are you willing to do restore OS X – Ruskes Nov 15 '18 at 6:44
  • Can I do a soft reset? I don't want to lose my data. Will this restore osx remove all my apps too? – Debdutto Chakraborty Nov 15 '18 at 7:10
  • no it will not, and your data should be ok – Ruskes Nov 15 '18 at 7:34
  • Sure then. Can you direct me to any trusted link for directions? Meanwhile I'll search – Debdutto Chakraborty Nov 15 '18 at 7:40
  • 1
    Before going to drastic measures like reinstalling the OS can you go into System Preferences and check access there? – nohillside Nov 15 '18 at 7:59
10

Some categories, like the one you mention, aren't listed in System Preferences.

You can reset that one in particular with this command:

tccutil reset AppleEvents

Or, you can reset all app permissions like this:

 tccutil reset All

You can also add an app's bundle identifier (e.g. tccutil reset All com.apple.Terminal) to reset only that app's permissions.

  • 1
    note that you can get the bundle id with mdls /Applications/iPhoto.app | grep kMDItemCF – csanchez Jan 8 at 14:47
3

Found this:

If the user selects “OK”, the application sending the command will be thereafter whitelisted, and allowed to send arbitrary events (not just the one that prompted the alert) to the Finder. If you’re running macOS Mojave you can see a list of applications you’ve already permitted in System Preferences, under “Security and Privacy,” “Privacy,” “Automation”.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .