Is there a way to remove the authorization prompt from command-line instances of Instruments (Xcode)?

前端 未结 11 1006
南笙
南笙 2020-12-02 07:53

I am currently using Instruments via a bash script to initiate the command-line interface to start up runs of the Automation plug-in.

With 4.2, this worked well en

11条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-02 08:30

    I also faced with this issue on El Capitan. I found this article very helpful https://www.dssw.co.uk/reference/authorization-rights/. Based on it I changed following rights in order to overcome this issue:

    system.privilege.taskport
    system.privilege.taskport.debug
    system.privilege.taskport.safe
    com.apple.dt.instruments.process.analysis
    com.apple.dt.instruments.process.kill
    

提交回复
热议问题