Unable to get data from core data Model having "Transformable" attribute type, when user is upgrading from iOS 12 to iOS 13

Hi There,



I am facing issue with my iOS Application with iOS13 release.


When user upgrade iOS device from iOS 12.x to iOS 13, my app is not able to get correct results for query on core data Attributes with "Transformable" as "Attribute type".


When my app was running in iOS 12, it was working fine & as expected, but when some of users upgrade their device to iOS 13, they are facing issue because of above mentioned problem.


Please help me to resolve this issue as production users are impacted.


Apart from above am getting below warning when I run my app from Xcode with iOS 13 device.


[error] 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.


Thanks

Replies

Hello,
I am facing same issue as mentioned above. Can someone please help us out?

I get the warnings listed above, and also I can't start the app in the Simulator on Xcode 11:


*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'executeFetchRequest:error: A fetch request must have an entity.'

FWIW, my app doesn't use CloudKit.