'Auto allow access to MacOS accessibility API during development

I'm developing an app that uses the accessibility api. Every time I make a change and rebuild I have to remove and re-add the app to the "Security and Privacy / Accessibility" view below. This gets pretty annoying after a while.

Is there any way to disable this security check while developing or make the setting stick even though the app itself is changing?

Security and privacy / accessibility settings



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source