【发布时间】:2021-11-18 23:55:01
【问题描述】:
我的应用在 iOS 15 和 14 上运行良好,也许 13 也是。但是当我在使用 iOS 12 的旧设备上运行时,它在启动时崩溃,甚至在触发 didFinishLaunchingWithOptions 之前。上次我使用 Xcode 12 构建时它运行良好。
Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named UINavigationBarAppearance because no class named UINavigationBarAppearance was found; the class needs to be defined in source code or linked in from a library (ensure the class is part of the correct target)' terminating with uncaught exception of type NSException
【问题讨论】:
标签: xcode ios12 ios15 xcode13 uinavigationbarappearance