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

Andrew Schreiber picture Andrew Schreiber · Oct 20, 2016 · Viewed 12.8k times · Source

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.

Answer

malhal picture malhal · Mar 8, 2017

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.