Xcode Helper does not have the accessibility permissions needed to run tests I am getting this error when attempting to run some accessibility UTs on a project.  I was under the impression that a prompt such as this would appear:

However, I am not seeing this prompt.  I also tried to go to &quot;Security &amp; Privacy &gt; Accessibility&quot; to give the app &quot;Xcode helper&quot; the proper permissions, but I cannot find &quot;Xcode helper&quot; anywhere on my computer... only Xcode.  I added Xcode but am still hitting this error.  Ideas?  Where can I find &quot;Xcode helper&quot;?
Where can I find &quot;Xcode helper&quot;?

The Xcode Helper app is located inside the Xcode bundle:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Agents/Xcode Helper

To get rid of the error message:

Open System Preferences.
Select Security &amp; Privacy&gt;Privacy&gt;Accessibility. Unlock the panel, if necessary.
Press the &quot;+&quot; button, navigate to:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Agents

add the Xcode Helper app and press Open:


Enable it: