Hello,
Im trying to save a custom object into coredata and it works fine on iOS but when trying to run the same code on the Mac Catalyst version of my app I get an error
Ambiguous use of 'encode(_:forKey:)'
I created a class for the object. I made it type NSObject & NSSecureCoding. I tried to make it encode and decode and save to CoreData with a transformer. Works on iOS version of my app but not macOS. Why is that?
Ty