问题
Similar to this question, except that the authorization database changed formats for mavericks and the old solution doesn't work: Is there a way to remove the authorization prompt from command-line instances of Instruments (XCode)?
The specific use-case being to get ios-driver working to run automated tests: http://ios-driver.github.io/ios-driver/faq.html
The specific prompt is "Instruments wants permission to analyze other processes"
I've tried
sudo security authorizationdb write system.privilege.taskport allow
and
sudo security authorizationdb write system.privilege.taskport is-developer
(with the user being in the _developers group) but the prompt is still coming up every time :(
Also tried
sudo security authorizationdb write com.apple.dt.instruments.process.analysis allow
because that looked related (thinking maybe the name of the required permission changed as well as the way to set it), but still getting the prompt
来源:https://stackoverflow.com/questions/21285793/remove-the-authorization-prompt-from-command-line-instruments-under-mavericks