Xcode 7 beta 4 - Crashes on UI recording
Asked Answered
C

3

2

While trying to do UI recording for my UI tests, the app crashed after 1 event that was not recorded. Looking into the crash report, I found this error: UNCAUGHT EXCEPTION (NSInternalInconsistencyException): ancestorFinder is not being processed by childNodeFinders

Anyone also getting this and maybe someone knows a fix for this?

Coverup answered 30/7, 2015 at 1:45 Comment(2)
File a bug report or it won't get fixed.Aigrette
you might want to look at my answer here https://mcmap.net/q/394133/-xcode-uitesting-crashesShanna
A
0

Unfortunately that's just life with beta software, did you try reinstalling Xcode 7 beta 4.

If it still doesn't work, might be a beta thing.

Solution

Look forward to Xcode 7 beta 5

Australasia answered 30/7, 2015 at 1:53 Comment(0)
C
3

At the moment, this seems a bug related to the absence of accessibility identifier on the item used to generate the event. If your UI is created using the Interface Builder, Andy's answer is certainly relevant.

If, like me, your are creating your UI object programmatically, you can set a value to the accessibilityIdentifier property of your UI element (e.g. a UIButton).

Chairmanship answered 27/11, 2015 at 16:10 Comment(0)
A
0

Unfortunately that's just life with beta software, did you try reinstalling Xcode 7 beta 4.

If it still doesn't work, might be a beta thing.

Solution

Look forward to Xcode 7 beta 5

Australasia answered 30/7, 2015 at 1:53 Comment(0)
C
0

This is a bug that Apple are aware of but require more details to debug it. Please see this link for info: https://forums.developer.apple.com/thread/10623

Ceyx answered 2/10, 2015 at 14:53 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.