That fixes the crash. But now we get another one, randomly, after some tries of the "Randomize & Select Last" Button:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Focus item <SwiftUI.ListCollectionViewCell: 0x1390c1600> does not provide a parentFocusEnvironment.'
Yes, it crash after a random number of presses of "Randomize & Select Last" but within the Xcode 14.0 and 14.1 latest beta on the iPad 12'' pro simulator with 16.1 beta. It doesn't happens with the iPad simulator with iPadOS 16.0.
It seems yet another bug. 😤
That fixes the crash. But now we get another one, randomly, after some tries of the "Randomize & Select Last" Button:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Focus item <SwiftUI.ListCollectionViewCell: 0x1390c1600> does not provide a parentFocusEnvironment.'
Yes, it crash after a random number of presses of "Randomize & Select Last" but within the Xcode 14.0 and 14.1 latest beta on the iPad 12'' pro simulator with 16.1 beta. It doesn't happens with the iPad simulator with iPadOS 16.0.
It seems yet another bug. 😤