Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Xcode 16 / iOS18] Crash in CollectionView #38

Open
konroj opened this issue Sep 27, 2024 · 0 comments
Open

[Xcode 16 / iOS18] Crash in CollectionView #38

konroj opened this issue Sep 27, 2024 · 0 comments

Comments

@konroj
Copy link

konroj commented Sep 27, 2024

Steps to Reproduce the Problem

  • Build an app with latest Instabug SPM (13.4.2)
  • Create a first ticket on the account
  • Close
  • Instabug.show()
  • Go to conversation list
  • Go to conversation detail <- crash on opening detail view from the list

Expected Behavior

No crash

Actual Behavior

Crash on iOS18 (works at iOS17):

Thread 1: "Expected dequeued view to be returned to the collection view in preparation for display. When the collection view's data source is asked to provide a view for a given index path, ensure that a single view is dequeued and returned to the collection view. Avoid dequeuing views without a request from the collection view. For retrieving an existing view in the collection view, use -[UICollectionView cellForItemAtIndexPath:] or -[UICollectionView supplementaryViewForElementKind:atIndexPath:]. Dequeued view: <IBGInboundTextCell: 0x17a6b8700; baseClass = UICollectionViewCell; frame = (0 37; 393 59.9336); layer = <CALayer: 0x600000548fa0>>; Collection view: <IBGChatCollectionView: 0x10303ae00; baseClass = UICollectionView; frame = (0 0; 393 643); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x600000f76c70>; backgroundColor = <UIDynamicProviderColor: 0x6000005402a0; provider = <__NSMallocBlock__: 0x600000fed770>>; layer = <CALayer: 0x6000004b3b80>; contentOffset: {0, 0}; contentSize: {393, 262.8671875}; adjust"

Seems to be related to: https://forums.developer.apple.com/forums/thread/756645

Variables set before .show():
Instabug.addFileAttachment(with: url) // logfile
Instabug.setUserAttribute(x ? "true" : "false", withKey: "y")

SDK Version

13.4.2

iOS Version

18.0, 18.1

Device Model

15 Pro

@konroj konroj changed the title [Xcode 16 / iOS18] Crash in Replies CollectionView [Xcode 16 / iOS18] Crash in CollectionView Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant