ERROR: Unable to archive data: Error Domain=NSCocoaErrorDomain Code=4866 "The data couldn’t be written because it isn’t in the correct format." UserInfo={NSUnderlyingError=0x7fbd72155970 {Error Domain=NSCocoaErrorDomain Code=4864 "This decoder will only decode classes that adopt NSSecureCoding. Class 'NSTextAttachment' does not adopt it." UserInfo={NSDebugDescription=This decoder will only decode classes that adopt NSSecureCoding. Class 'NSTextAttachment' does not adopt it.}}}
PAL/pal/spi/cocoa/NSKeyedArchiverSPI.h(67) : NSData * _Nullable securelyArchivedDataWithRootObject(id _Nonnull)
