CoreData: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName.

My app is NOT using CoreData.

But I'm seeing this fault error in Console.app from mac when I build my iOS app:

CoreData: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
  1. What could be the cause of it?
  2. What's the potential security issue it will cause to the app?

Replies

Hey, have you found a solution to this? I am getting the same error, and I am using SwiftData.