【问题标题】:iOS app crashes due to Error Domain=UILaunchStoryboardErrorDomain Code=2由于 Error Domain=UILaunchStoryboardErrorDomain Code=2,iOS 应用程序崩溃
【发布时间】:2023-10-18 03:12:02
【问题描述】:

在 xcode 构建中运行良好,在 TestFlight 中崩溃。 从设备记录:

Fatal error generating launch image for xxx.xxx.xxx: 
Error Domain=UILaunchStoryboardErrorDomain Code=2 
"Error loading: [<NSObject 0x1262580b0> setValue:forUndefinedKey:]:
this class is not key value coding-compliant for the key animationLoader." 
UserInfo={NSLocalizedDescription=Error loading: 
[<NSObject 0x1262580b0> setValue:forUndefinedKey:]: 
this class is not key value coding-compliant for the key animationLoader., 
UILaunchStoryboardClientBundleIdentifier=xxx.xxx.xxx}

找不到有关此错误的任何文档。有人知道吗?

【问题讨论】:

    标签: ios crash testflight


    【解决方案1】:

    检查您是否为 ViewController 分配了正确的类,并尝试删除和重置您的 outlet。

    【讨论】: