Storing Large Files | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/10794954-beginning-core-data/lessons/29

Hi @pasanpr
I noticed that while choosing the ‘Transformable’ attribute for attachment property Xcode throws this warning below at run time. Is there a way to resolve this? Please suggest. Thank You.

CoreData: fault: 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.