Core Data & Xcode 11: Please Switch to Using "Nssecureunarchivefromdata" or a Subclass of Nssecureunarchivefromdatatransformer

Core Data error switch to using NSSecureUnarchiveFromData or a subclass of NSSecureUnarchiveFromDataTransformer instead

I found I did something wrong when I used my own code instead of removeFromAddresses(_ value: Address) to remove an address from Route.addresses. When I fixed my code by using removeFromAddresses(_ value: Address) instead of my own code, the error messages in question went away.

Transformable and NSKeyedUnarchiveFromData

This warning appears because apple will remove it in future release because it's not secure by default. Here is thread on Apple forum.
You should use NSSecureUnarchiveFromData instead of that.



Related Topics



Leave a reply



Submit