-
Notifications
You must be signed in to change notification settings - Fork 52
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
[CRASH] Invalid batch updates detected #225
Comments
hey @Nico3652 thanks for flagging this, sorry for the late reply. I'm using the latest Xcode from the App Store (14.3) and was unable to reproduce based on the code you shared, though I had to add |
@cgmaier thanks for reply, I'm also using this version of Xcode. I can confirm that this is not happening presenting the In order to add more context to my situation, I'm not building an iOS app in full swift code but a Flutter app mixing dart & swift. The main view I'm using is just a wrapper to insert the gridController : I cannot use So I have done many tests and here is my workaround : This workaround is working great for now until im able to understand this behavior and fix it. |
hey @Nico3652 glad you found a solution. can you try creating a new https://github.com/Giphy/giphy-ios-sdk/blob/main/Docs.md#giphygridcontroller-presentation |
@cgmaier I followed the entire documentation, |
are you also removing it from the view hierarchy? |
@cgmaier indeed I'm removing it like this :
However I'm not an expert in Swift and iOS behavior, am I doing it wrong ? Here is the full wrapper class I've created for handling the grid :
|
This issue might be a duplicate of #257 |
During 6 months of testing I had no error / crashes using this SDK but recently (maybe with new Xcode version) I'm getting a crash when I'm initializing the main grid for recents with exactly the same code than previous months :
And then I'm getting this error :
Thanks in advance
The text was updated successfully, but these errors were encountered: