‘NSKeyedUnarchiveFromData’ should not be used to for un-archiving and will be removed in a future release
In my case the problem was in using Transformable type in CoreData for saving array of strings. By default CoreData uses NSKeyedUnarchiver instead of NSSecureUnarchiveFromData transformer. So changing the transformer solved this problem.