-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always getting error AXError.APIDisabled #39
Comments
Sandbox? I think you need to change your app's entitlement file to |
Ill try that. In any case i deleted all sandbox setttings and also attempted with the example and encountered similar issue |
Thanks @soundflix . I was already using the setting you suggested So it turns out that for some reason, subsequent app launches will always lead to this error. I was able to resolve this by deleting the entry altogether from the accessibility settings and rebuilding (running) the app. I will again get the dialogue asking for access At that point, I can again toggle the button and relaunch the app and things will start working again but only for that launch. The subsequent runs will fail again 😭 until I delete the setting, relaunch, and repeat the above steps (toggle the button, kill the app, relaunch, rinse and repeat) . Not sure why this occurs. |
I've allowed accessiblity but always getting error
AXError.APIDisabled
as you can see here:
Should I be signing or adding some special permissions?
P.S. I'm running in debug from
xcode
. Does this impact somehow?The text was updated successfully, but these errors were encountered: