I have an application that allows users to run scripts of their own, these scripts are run by my helper app running in the background.
Since El Capitan, users have an issue running scripts that accesses Reminders for example.
Here is what happens :
4/6/16 8:24:29.404 PM tccd[527]: SecTaskLoadEntitlements failed error=3
4/6/16 8:24:29.404 PM tccd[527]: Refusing client without path (pid 54116)
MyHelper.app > Runs a user shell script > scripts run an applescript through osascript to get access to reminders
Funny enough, is I run the helper app from the terminal using ./MyHelper.app/Content/MacOS/MyHelper, then it works perfectly.
How can I debug TCCD, and unserstand what's missing in 'Refusing client without path'? The PID indicated is the one for "osascript" binary that my app launches.
Thanks!
P.S. Sorry for the weird title, I litterally spent 10mn finding a title that wouldn't be rejected as "invalid characters" by the forum...