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

前端 未结 11 1045
南笙
南笙 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:27

    I tried security unlock-keychain and editing the /etc/authorization file, but neither of those worked.

    In the end the only thing that removed that security prompt was what jacekmigacz suggested in a comment, to run "sudo DevToolsSecurity --enable".

提交回复
热议问题