Excellent!
See also
[https://www.jessesquires.com/blog/2021/03/17/xcode-ui-testing-reliability-tips/)
Post
Replies
Boosts
Views
Activity
Here I had the same libs assigned in different targets/schemes which was not necessary. After removing the redundant ones, the loop disappeared.
I had this also with the 'Default' setting of Derived Data. Solution was to do a pod install, since the installed pods have been changed by another team member.
I also see the behaviour that JShroyer describes: it's like a lazy loading mechanism. here it's just a list with 6 entries, so it is not only valid for long lists. The problem is: It's flaky! One time it works, one time not.
Using print(XCUIApplication().debugDescription) helps: because there I can see, that the off-screen element is not listed.
I now drilled it down: here it seems to be just the the iPhone 14 Simulator that doesn't work. And it's not just my local simulator, we have the same problem on the CI simulator. Using iPhone 13 (same size class and traits) works like a charm.
The question is: will adding the -ld64 flag be disturbing once the big is fixed?
As @obaytimur proposed, tint seems the way to go. Also, in some cases accentColor doesn't seem to work. I had a quite nested view with the picker inside, and the text color wouldn't change with accentColor. tint worked. Thanks
From Xcode 16.1 Beta Release Notes:
Xcode 16.1 beta release supports on-device debugging in iOS 13 and later
Same here in a project with multiple sub-projects. Try to fix it by setting to Swift 6, but still no avail.