A walkaround.
When use '/usr/sbin/screencapture' to take screenshot, before user auth, try to capture WITHOUT the '-i' option.
In this case, user could successfully authorize the premssion. And then you can capture with '-i' option.
Topic:
Privacy & Security
SubTopic:
General
Tags: