I am using TabBar in my app but my app crashes on iOS 12 version but working fine on iOS 13 + versions with following exception..I am using latest Xcode 13.2

1-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

2-Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named UITabBarAppearance because no class named UITabBarAppearance 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)'

I am stuck nothing is working ...please help me to get rid of that error

I am using TabBar in my app but my app crashes on iOS 12 version but working fine on iOS 13 + versions with following exception..I am using latest Xcode 13.2
 
 
Q