Run UITest failed on iOS 9.2 with Xcode 9.3.1

Hi,


When I try to run UITest, I get this error:


"Test operation failure: Timeout waiting for fulfillment of promise for 'Registering for AX notification 4002'."


More log:

19:11:36.965 TestRunner-Runner[194:6540]  done waiting
19:11:36.965 TestRunner-Runner[194:6540]  cleaning up Loading Accessibility
19:11:36.966 TestRunner-Runner[194:6540] Creating future for 'Enable gathering of localized strings' with timeout 70.00
19:11:36.966 TestRunner-Runner[194:6540] Daemon protocol version does not support localizable strings data call, daemon will not enable localizableStringsDataGathering.
19:11:36.968 TestRunner-Runner[194:6540]  entering wait loop for 70.00s with expectations: (
    "Enable gathering of localized strings"
)
19:11:36.969 TestRunner-Runner[194:6540]  done waiting
19:11:36.969 TestRunner-Runner[194:6540]  cleaning up Enable gathering of localized strings
19:11:36.970 TestRunner-Runner[194:6540] Error from daemon in setting localizable strings data gathering enabled.
19:11:36.970 TestRunner-Runner[194:6540] Creating future for 'Set AX timeout to 60.00s' with timeout 65.00
19:11:36.972 TestRunner-Runner[194:6540] Ignoring request to set AX messaging timeout - daemon protocol version does not support this functionality.
19:11:36.972 TestRunner-Runner[194:6540]  entering wait loop for 65.00s with expectations: (
    "Set AX timeout to 60.00s"
)
19:11:36.975 TestRunner-Runner[194:6540]  done waiting
19:11:36.977 TestRunner-Runner[194:6540]  cleaning up Set AX timeout to 60.00s
19:11:36.978 TestRunner-Runner[194:6540] Creating future for 'Registering for AX notification 4002' with timeout 65.00
19:11:36.980 TestRunner-Runner[194:6540]  entering wait loop for 65.00s with expectations: (
    "Registering for AX notification 4002"
)
19:12:41.980 TestRunner-Runner[194:6540]  done waiting
19:12:41.982 TestRunner-Runner[194:6540]  reporting timed out failure with Registering for AX notification 4002
19:12:41.982 TestRunner-Runner[194:6540]  cleaning up Registering for AX notification 4002
19:12:41.984 TestRunner-Runner[194:6540] Failed to register for AX user testing notification.
19:12:41.963 Xcode[1465:229179] Initialization failure for UI testing: Timeout waiting for fulfillment of promise for 'Registering for AX notification 4002'.
19:12:41.963 Xcode[1465:229179] Test operation failure: Timeout waiting for fulfillment of promise for 'Registering for AX notification 4002'.
19:12:41.963 Xcode[1465:229179] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=13 "Timeout waiting for fulfillment of promise for 'Registering for AX notification 4002'." UserInfo={NSLocalizedDescription=Timeout waiting for fulfillment of promise for 'Registering for AX notification 4002'.}

Replies

I'm getting a similar error on iPad simulators iPad Air 2 (9.2), iPad Pro (12.9 inch) (11.2) and others. It just started today (May 18, 2018).