Out at my current client we are using jenkins as our CI environment which also launches our UIAutomation tests via Instruments CLI. Recently in OS X it looks like apple tightened up the program security so that you will be prompted for something like…
“Developer Tools Access is trying to take control of another process. Type your password to allow this.”
Open up a Terminal and try
sudo /usr/sbin/DevToolsSecurity –enable
Hopefully you end up with a console message along the lines of
“Developer mode is now enabled.”
This resolved the prompt issue for me … thanks to kenster for his post on stackoverflow.