When doing UI Test Recording and entering a TextField, XCode aborts.
In the crash dump it says that its an internal inconsistency: "ancestorFinder is not being processed by childNodeFinders"
Swift is used as the recording language.
Crashed Thread: 20 Dispatch queue: XCUIRecorder_iOS.processingQueue
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 7A152u
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): ancestorFinder is not being processed by childNodeFinders
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff8a867024 __exceptionPreprocess (in CoreFoundation)
1 0x0000000103776cf8 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff8c94976e objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff8a866e1a +[NSException raise:format:arguments:] (in CoreFoundation)
4 0x00007fff8615e8cb -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] (in Foundation)
5 0x0000000105cfabc8 +[XCUIRecorderNodeFinder nodeToFindElementForSnapshots:language:platform:] (in XCTest)
6 0x0000000105ccb86b __167-[XCUIRecorder_iOS _XCT_recordedEventNames:duration:startLocation:startElementSnapshot:startApplicationSnapshot:endLocation:endElementSnapshot:endApplicationSnapshot:]_block_invoke (in XCTest)
7 0x00007fff897e8323 _dispatch_call_block_and_release (in libdispatch.dylib)
8 0x00007fff897e3c13 _dispatch_client_callout (in libdispatch.dylib)
9 0x00007fff897e7365 _dispatch_queue_drain (in libdispatch.dylib)
10 0x00007fff897e8ecc _dispatch_queue_invoke (in libdispatch.dylib)
11 0x00007fff897e66b7 _dispatch_root_queue_drain (in libdispatch.dylib)
12 0x00007fff897f4fe4 _dispatch_worker_thread3 (in libdispatch.dylib)
13 0x00007fff8e128637 _pthread_wqthread (in libsystem_pthread.dylib)
14 0x00007fff8e12640d start_wqthread (in libsystem_pthread.dylib)
abort() called
Application Specific Signatures:
NSInternalInconsistencyException
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff8a86703c __exceptionPreprocess + 172
1 DVTFoundation 0x0000000103776cf8 DVTFailureHintExceptionPreprocessor + 194
2 libobjc.A.dylib 0x00007fff8c94976e objc_exception_throw + 43
3 CoreFoundation 0x00007fff8a866e1a +[NSException raise:format:arguments:] + 106
4 Foundation 0x00007fff8615e8cb -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
5 XCTest 0x0000000105cfabc8 +[XCUIRecorderNodeFinder nodeToFindElementForSnapshots:language:platform:] + 2336
6 XCTest 0x0000000105ccb86b __167-[XCUIRecorder_iOS _XCT_recordedEventNames:duration:startLocation:startElementSnapshot:startApplicationSnapshot:endLocation:endElementSnapshot:endApplicationSnapshot:]_block_invoke + 1758
7 libdispatch.dylib 0x00007fff897e8323 _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff897e3c13 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff897e7365 _dispatch_queue_drain + 1100
10 libdispatch.dylib 0x00007fff897e8ecc _dispatch_queue_invoke + 202
11 libdispatch.dylib 0x00007fff897e66b7 _dispatch_root_queue_drain + 463
12 libdispatch.dylib 0x00007fff897f4fe4 _dispatch_worker_thread3 + 91
13 libsystem_pthread.dylib 0x00007fff8e128637 _pthread_wqthread + 729
14 libsystem_pthread.dylib 0x00007fff8e12640d start_wqthread + 13