Hi, I'm running into a crash I can't wrap my head around. I'm using a collectionView with a compositional layout. Upon reloading the collection view via reloadData or reloading a particular section via reloadSection, customers are running into a crash I'm unable to reproduce.
The only information is this:
Fatal Exception: NSInternalInconsistencyException
UICollectionView internal inconsistency: missing final attributes for cell <UICollectionViewListCell: 0x13ad42a40; frame = (0 791; 768 40); layer = <CALayer: 0x28268e0e0>>; initial attributes: <UICollectionViewLayoutAttributes: 0x13ac5aa90> index path: (<NSIndexPath: 0xb33e6ceee91dbb86> {length = 2, path = 4 - 0}); frame = (0 791; 768 40); ; layout query: <UICollectionViewLayoutAttributes: 0x137db5190> index path: (<NSIndexPath: 0xb33e6ceee91dbb86> {length = 2, path = 4 - 0}); frame = (0 800; 768 44); ; collection view: <UICollectionView: 0x13d120a00; frame = (0 0; 768 904); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x2829ad7d0>; layer = <CALayer: 0x2827f1cc0>; contentOffset: {0, 0}; contentSize: {768, 1715}; adjustedContentInset: {0, 0, 0, 0}; layout: <UICollectionViewCompositionalLayout: 0x13ad2bd50>; dataSource: <drchrono_EHR.AppointmentDetailViewController: 0x139fff600>>
Any help would be greatly appreciated.
Thank you.
Post
Replies
Boosts
Views
Activity
Hello
We are having an issue with Xcode 13.3.1 where it's not detecting our tests. In the test navigator, it's listing the tests but they are empty and it's also showing a count of 0 next to the test target.
When we run the tests, it runs fast and doesn't show the checkmarks as expected since it doesn't detect the tests.
Any help would be appreciated.
Thanks.
Hello,
We are trying to migrate our app to Xcode 12 and are encountering a lot of warnings and believe one of the warnings to be causing a crash.
The type of warnings we are getting looks like follows:
objc[54958]: Class Event is implemented in both /Users/user/Library/Developer/CoreSimulator/Devices/B4816790-617D-4DBB-A2EB-9650A6CE43D9/data/Containers/Bundle/Application/8B62D497-C39B-43A4-BEA4-6E4B2F16D61E/APP.app/Frameworks/mmMobileSDK.framework/mmMobileSDK (0x112ab4168) and /Users/user/Library/Developer/CoreSimulator/Devices/B4816790-617D-4DBB-A2EB-9650A6CE43D9/data/Containers/Bundle/Application/8B62D497-C39B-43A4-BEA4-6E4B2F16D61E/APP.app/Frameworks/SquareReaderSDK.framework/SquareReaderSDK (0x10c947c70). One of the two will be used. Which one is undefined.
This was not happening in Xcode 11 and we've been stuck with this for the past week. Why would Xcode 12 not allow third party frameworks to have classes with the same name? How do we fix this when the two frameworks in cause are third parties?
Any help is appreciated.
Thanks!