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

macosmacos-sierraxcode

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.

Best Answer

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.