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:
- Open System Preferences.
- Select Security & Privacy>Privacy>Accessibility. Unlock the panel, if necessary.
- 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:
- Enable it: