crash_info_entry_0: CoreUI: deallocating _CUIInternalLinkRendition ... Assets.car

IosSwiftXcode11

Ios 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/.app/Assets.car

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.

The Fix: Just unwrap token with if let before using!
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).

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionaneuryzmView Question on Stackoverflow
Solution 1 - IosHusamView Answer on Stackoverflow
Solution 2 - IosKowbojView Answer on Stackoverflow
Solution 3 - IosunnanegoView Answer on Stackoverflow