I made an application that requires users to give permission to accessibility features. It's working as it when application first started and asks for accessibility
const void * keys[] = { kAXTrustedCheckOptionPrompt };
const void * values[] = { force };
CFDictionaryRef options = CFDictionaryCreate(kCFAllocatorDefault,
keys,
values,
sizeof(keys) / sizeof(*keys),
&kCFCopyStringDictionaryKeyCallBacks,
&kCFTypeDictionaryValueCallBacks);
access = AXIsProcessTrustedWithOptions(options);
CFRelease(options);
The problem is, when I release new version (using sparkle) accessibility permissions are gone, so users should give permission again. Is that because my code is not signed with Apple Developer ID ? I'm distributing my app outside the app store.