Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Repeated Popup: Xcode wants to access key "com.apple.dt.XcodeDeviceMonitor" in your keychain

Starting in MacOS Sierra, I've started to get this popup periodically from XCode, even after pressing 'Always Allow'.

Popup

I've tried deleting the "com.apple.dt.XcodeDeviceMonitor" item in Keychain. This regenerates the key, but doesn't fix the issue.

It's an open discussion topic on the Apple forums, but no one seems to have a solution.

like image 635
Andrew Schreiber Avatar asked Oct 20 '16 02:10

Andrew Schreiber


2 Answers

Posting this solution for Xcode 8 because no one else has:

  1. Open Keychain Access.
  2. Search for XcodeDeviceMonitor.
  3. Drag the item to the System Keychain on left.
  4. Enter admin password.

That finally fixes it.

like image 166
malhal Avatar answered Nov 08 '22 14:11

malhal


open [keychain access] > type "xcode" in the search area > double click [com.apple.dt.XcodeDeviceMonitor] > click [access control] > select the first option [allow all applications to access this item]

Don't forget to click Save Changes!

hope it helps.

Tap allow all applications to access this item, then tap Save Changes

like image 78
Linc Avatar answered Nov 08 '22 14:11

Linc