What causes Error -25204 getting snapshot for element during iOS app UI test
问题 I am getting following error during a UI test (using simulator for iPhone 6): Assertion Failure: UI Testing Failure - Failure getting snapshot Error Domain=XCTestManagerErrorDomain Code=9 "Error -25204 getting snapshot for element <AXUIElement 0x7fbd6be217d0> {pid=6874}" UserInfo={NSLocalizedDescription=Error -25204 getting snapshot for element <AXUIElement 0x7fbd6be217d0> {pid=6874}} <unknown>:0: error: -[*screen name*] : UI Testing Failure - Failure getting snapshot Error Domain