I'm writing Swift in Xcode and using the accessibility API to get the titles of open windows through AXUIElementCopyAttributeValues
.
Unfortunately the approved release version worked once. Now any change to the code causes the function to return apiDisabled
. The same happens if I try to debug the app. I'm using the free developer account. (Used for signing)
How do I fix that? How can this function be used when debugging?