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

标签 ios swift xcode11

在使用 Firebase Crashlytics 检查崩溃时,我注意到 Keys 部分中有以下行:

CoreUI: deallocating _CUIInternalLinkRendition 7113 /private/var/containers/Bundle/Application/1E06D0B4-30EA-41CA-998C-D8E86AA94100/.app/Assets.car



这与我的应用程序中的 Assets 有关吗? CoreUI 中的内存问题?

最佳答案

我有一个播放器,当我强行从播放器中移除时间观察者时发生了崩溃。但是 timeObserverToken 为零。
修复:只需使用 if let 解开 token 使用前!

func endPlayerObserving () {
   //BAD CODING, Don't ever force unwrap optional objects
    player?.removeTimeObserver(timeObserverToken!)
}

关于ios - crash_info_entry_0 : CoreUI: deallocating _CUIInternalLinkRendition . .. Assets.car,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59717173/

相关文章:

ios - 从 cocoapod 项目中只删除一个库,我该怎么做?

ios - 如何在swift中使用可选的 "?"和 "!"?

ios - 为什么我的正则表达式中存在多个捕获组会使我的应用程序崩溃?

ios - 解析错误 "Could not build module ' UIKit'”但应用程序运行正常

ios - 未安装自定义字体 - Xcode 11 beta

ios - SwiftUI 中带循环的动态按钮

ios - Swift StoryBoard Reference segue 到 Navigation controller 而不是 Root

ios - SwiftUI View 和 UIKit View 的 z-index

ios - 如何使用 UIPreviewParameters 指定一系列文本作为 UIContextMenuInteraction 的突出显示预览,而不隐藏 View 的其余部分?

ios - 为什么我在构建以下代码时会从 clang 中得到错误,而在 xcode 的默认编译器中却没有?