macOS privacy permissions during development.

My macOS app (targeting Catalina only) uses camera, mic and screen recording. While developing the app the system asks me permission every time I rebuild and run the app. This does not happen on iOS. Is there anyway to prevent this?

Secondly when I distribute the app to other Macs, every build needs the consent re-affirmed. This doesn't seem like the way it should be.

What could I be doing wrong?


Replies

Did you happen to solve this? I had a similar issue.