My app is working fine on iOS 15 and 14, maybe 13 too. But when I run on older device using iOS 12, its crash on start, even before didFinishLaunchingWithOptions is triggered. It was working fine the last time I build using 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