UI tests in my application fail randomly with this issue (it's very similar to: https://forums.developer.apple.com/message/8476#8476 but apple won't let me post reply there for some reason)
UI Testing Failure - Failed to perform AX action for monitoring the event loop of <XCUIApplicationProcess: 0x7f90a8c04080 com.example.myapp (26285)>, error: Error -25204 performing AXAction 2042
This has become a real pain because this issue always happens on Continuous Integration (CI) server. Any ideas how to fix it?
Xcode 7.2 (7C68).