XCode Cloud failed to run macOS UI test

I am trying to run macOS unit test on XCode Cloud, but failed with following message. It runs smoothly locally on my Mac.

Tests macOS-Runner (29166) encountered an error (Failed to check for UI testing permission for the test runner process. If you believe this error represents a bug, please attach the result bundle at /Volumes/workspace/resultbundle.xcresult. (Underlying Error: Unable to run UI Tests because Xcode Helper does not have permission to use Accessibility. To enable UI testing, go to the Security & Privacy pane in System Preferences, select the Privacy tab, then select Accessibility, and add Xcode Helper to the list of applications allowed to use Accessibility))

This should no longer be an issue in the latest release of Xcode Cloud. Let us know if this issue remains in the latest version!

XCode Cloud failed to run macOS UI test
 
 
Q