crash_info_entry_0: CoreUI: deallocating _CUIInternalLinkRendition ... Assets.car
IosSwiftXcode11Ios Problem Overview
When inspecting a crash with Firebase Crashlytics, I noticed the following line in the Keys section:
> CoreUI: deallocating _CUIInternalLinkRendition 7113 /private/var/containers/Bundle/Application/1E06D0B4-30EA-41CA-998C-D8E86AA94100/
Is this related to the assets in my app? A memory issue in CoreUI?
Ios Solutions
Solution 1 - Ios
I have a player and the crash happened when I was force removing a time observer from the player. But the timeObserverToken is nil.
if let
before using!
The Fix: Just unwrap token with func endPlayerObserving () {
//BAD CODING, Don't ever force unwrap optional objects
player?.removeTimeObserver(timeObserverToken!)
}
Solution 2 - Ios
In my case it probably happened when force unwrapped a referenced property (UI - specifically UITextField) of a different class. It was nil (probably some threading, view deallocation issue)
Solution 3 - Ios
For my unity project, the crash has gone away after decreasing the sizes of all textures in the project. I had an 8k by 8k skybox used, so this might have been the source of the problem (I don't have a way to test it, so it's just a guess).