Sandbox Blocks Interactive Screenshot Call

Originator:ccozad
Number:rdar://27850177 Date Originated:8/15/2016
Status:Duplicate/27245600 Resolved:
Product:OS X Product Version:MacOS Sierra 10.12 Beta (16A284a)
Classification: Reproducible:Always
 
Steps to reproduce:
1. Create a task that calls "/usr/sbin/screencapture" with an argument "-i <file>"
2. Wait until exit on the task

Expected Results:
The selected screen capture area will be written to the specified path

Actual Results:
SandboxViolation: screencapture(2323) deny mach-register com.apple.screencapture.interactive
Violation:       deny mach-register com.apple.screencapture.interactive
Process:         screencapture [2323]
Path:            /usr/sbin/screencapture

Notes:
Same issue reported in other places:
http://stackoverflow.com/questions/38302813/screencapture-sandox-error-on-sierra
https://forums.developer.apple.com/thread/51236

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!