Instruments always prompts for password
| Originator: | matt | ||
| Number: | rdar://15355641 | Date Originated: | Oct 30 2013 |
| Status: | CLOSED | Resolved: | YES |
| Product: | Developer Tools | Product Version: | OS X 10.9 (13A603), Xcode 4.6.3 (4H1503) |
| Classification: | Reproducible: | Always |
Summary:
OS X 10.9 is unable to disable Instruments prompting for authorization which breaks automation. Before this worked:
<key>system.privilege.taskport</key>
<dict>
<key>allow-root</key>
<true/>
<key>class</key>
<string>user</string>
<key>comment</key>
Making the change to /System/Library/Security/authorization.plist does nothing on OS X 10.9. Updating the database also has no impact.
security authorizationdb write system.privilege.taskport.allow-root allow
https://github.com/appium/appium/pull/1400/files
Steps to Reproduce:
1. Install Xcode
2. Invoke Instruments
3. Observe prompt for password
Expected Results:
No prompt for password because system.privilege.taskport has been set to true.
Actual Results:
It prompts for a password.
Version:
OS X 10.9 (13A603), Xcode 4.6.3 (4H1503)
Xcode 5.0.1 completely fails on Instruments.
Notes:
https://groups.google.com/forum/#!topic/appium-discuss/RAgEytPlRnw
https://github.com/appium/appium/issues/1385
Configuration:
OS X 10.9 (13A603), Xcode 4.6.3 (4H1503)
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Fixed with:
DevToolsSecurity --enable
security authorizationdb write system.privilege.taskport is-developer
https://github.com/appium/appium/pull/1468