MacOS Monterey 12.2.1 Keeps Asking for Accessibility Permission for an App When Launched from XCode 13.2.1 Even After Granting the Permission

Viewed 387

When I launch an app from Xcode in order to debug, it keeps asking accessibility permission even after granting it.

If I archive, run from finder, and grant accessibility, it works fine.

I also tried removing the app from security & privacy.

It used to work fine in MacOS 11, but it doesn't seem to work with MacOS 12.2.1, Xcode 13.2.1.

I'd appreciate any tip.

1 Answers

It seems like you can't have duplicate versions of same app running around in your machine. Once I deleted all the debug builds as well as the release in /Applications folder, it worked.

Maybe you can allow only one file with same app name.

Related