Not authorized to send apple events to Finder

I have an applescript application created in Script Editor on macOSS 10.14.6 - it is save as a run time only application and iss signed with hardened runtime.

I have the following keys in my plist:
NSAppleEventsUsageDescription com.apple.security.automation.apple-events

I was having issues running the applescript application and it was suggested that I run "tccutil reset ALL" in terminal. This removed all my apps from Security & Privacy/Privacy/Automation tab. Great.

But now when I run the app I always get the Not Authorized to send Apple events to Finder. I never get prompted to allow access.

How can I reset set it so asks for permissions?


Not authorized to send apple events to Finder
 
 
Q