I'm developing an MacOSX application which requires users to give accessibility permission. When users open the application for the first time, it shows the Security & Privacy pane which my app is also listed and they give permission. I use AXIsProcessTrustedWithOptions to check accessibility and It returns true if user gave the permission as expected.
The problem is, when I updated my application (rebuilding it without changing bundle id) accessibility permission for my application is becoming unchecked which makes it impossible to use accessibility api. I'm distributing my updates via sparkle project and not distributing from app store.
I tested that some of the applications doesn't ask second time after update. The only reason I can think is, code signing. I don't enrolled to mac osx programming program yet, so I can't sign my code with trusted certificate. My question is, Is that happening because I don't have trusted certificate to sign my code? If I enrol mac osx develeper program, will it solve my problem?
to state clearly, what i want to do is, if user gives access to accessibility features for my application, I don't want that permission to be gone after any update.