Authorize a non-admin developer in Xcode / Mac OS

后端 未结 10 1105
孤城傲影
孤城傲影 2020-12-04 05:09

I use a standard user account for my daily tasks on Mac OS. Since upgrading to Snow Leopard I am asked to do the following when a program is run from within Xcode:

\

10条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-04 05:56

    Answer suggested by @Stacy Simpson:

    We are struggling with the issue described in these threads and none of the resolutions seem to work:

    • Stop "developer tools access needs to take control of another process for debugging to continue" alert
    • Authorize a non-admin developer in Xcode / Mac OS

    As I'm new to SO, I cannot post in either thread. (The first one is actually closed and I disagree with the localization reasoning...)

    Anyway, we created a work-around using AppleScript that folks may be interested in. The script below should be executed asynchronously prior to launching your automated test:

    osascript 
    
                                     
                  
提交回复
热议问题