Closed NurLight19 closed 2 years ago
Hi Nuriddin,
Does your app use google-toolbox-fox-mac
or a library that depends on it like Firebase/Performance
? If so, you may be running into this bug and the solution would be updating those dependencies.
The linked bug happens when the following things happen:
[NSUserDefaults standardUserDefaults]
.dealloc
/deinit
.NSUserDefaults
.This creates a race condition where an element in an array can get deallocated while it's being iterated over, causing a crash.
Hi Brian, Thanks for the answer, looks like you are giving the correct path to fix the issue 👍
I'm facing a crashing issue after started using Heap SDK via Swift Package Manager (used Cocoapods before). I couldn't find the reason for it. It is happening with all iOS versions and devices randomly. Could you please help me to reduce this crash?
Heap SDK:
8.1.0
Device:iPhone 13 Pro Max
iOS version:15.1.1