NSKeyedUnarchiver.decodeObject will cause a crash / SIGABRT if the original class is unknown. The only solution I have seen to catching this issue
NSKeyedUnarchiver.decodeObject
SIGABRT
I was having same issue. Adding @objc to class declaration worked for me.
@objc(YourClass) class YourClassName: NSObject { }