16

I know I can turn on and off permission in System Preferences -> Security & Privacy -> Privacy -> Contacts, but what I want to do is force OS X to ask for permission again. This is for testing purposes... I.e. I maybe have a bug that gets triggered when the permission request dialog is shown.

Any ideas where the "asked" flag is being stored, so I can blow it away? I've checked in ~/Library/Application Support/AddressBook/ and a bunch of other obvious places.

pkamb
  • 26,648
  • 20
  • 124
  • 157
Kenny Winker
  • 11,513
  • 7
  • 50
  • 77

2 Answers2

22

Just needed to do this myself...on the command line do:

tccutil reset AddressBook

martn_st
  • 2,336
  • 1
  • 21
  • 27
Nick H247
  • 7,976
  • 3
  • 44
  • 50
  • 1
    This works great, however I'd just like to point out, that it will also clear all your other apps existing permission settings. – martn_st Aug 21 '15 at 20:43
6

Solution is Go to General - Reset - Reset Location & Privacy.