When I run my sandboxed application in macOS Sierra, I find this message in the Log :
2016-09-21 12:08:42.787003 MyApp[1505:63581] warning:
Try to find answers here:
Also, may help:
com.apple.security.scripting-targets
com.apple.security.temporary-exception.apple-events
com.apple.terminal
com.googlecode.iterm2
com.apple.finder
com.apple.security.temporary-exception.shared-preference.read-write
com.apple.finder
com.apple.security.temporary-exception.apple-events
com.apple.terminal
com.googlecode.iterm2
com.apple.finder
!!! If you try to submit to AppStore be informed that apple do not allow do this: