Xcode Helper does not have the accessibility permissions needed to run tests

Solution 1:

Where can I find "Xcode helper"?

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:

  1. Open System Preferences.
  2. Select Security & Privacy>Privacy>Accessibility. Unlock the panel, if necessary.
  3. Press the "+" button, navigate to: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Agents

add the Xcode Helper app and press Open:

enter image description here

  1. Enable it:

enter image description here