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

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

    I also tried security unlock-keychain and changed the /etc/authorization file, and have DevToolsSecurity enabled, but none of them worked, until I launched the Instruments GUI app and run my script, from which it popped up a dialog and i entered my password, after then when i run the instruments script again it doesn't require password anymore!

提交回复
热议问题