macOS 10.12 / 10.14
{
'allow-root' : 'false',
'authenticate-user' : 'true',
'class' : 'user',
'comment' : 'com.apple.dt.Xcode.RootDebuggingXPCService',
'default-prompt' : {
'en' : 'Xcode is trying to take control of a root process.'
},
'group' : 'admin',
'requirement' : '(anchor apple generic and certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or anchor apple) and identifier "com.apple.dt.Xcode"',
'session-owner' : 'false',
'shared' : 'false',
'timeout' : '2147483647',
'tries' : '10000'
}