Comment on SwiftData and 'NSKeyedUnarchiveFromData' should not be used to for un-archiving and will be removed in a future release My code doesn't use any 3rd- party frameworks, only simple Model with some Int, Date and String. The problem was with the enum property. It looks like SwiftData bug - it used NSKeyedUnarchiveFromData to transcribe the enum kind property. Programming Languages Swift 2w