dataForType:NSPasteboardTypeRTF

Now using 10.15.7 and Xcode 12.0

Have had an app which reads data off the general pasteboard. This app is no longer behaving as it once did...

Code Block
// a standard service entry point
- (void) xyzService:(NSPasteboard *)pboard userData:(NSString *)userData error:(NSString **)error; {
    NSData *rtfData=[pboard dataForType:NSPasteboardTypeRTF];
    if (rtfData!=nil) {
...
}
...
}


This used to reliably report the rtf data on the current pasteboard.

Now rtfData is a 0 byte non null Data object.

Has there been some change that I am just completely unaware of? Why would this just stop working?

Thank-You for any help here!

dataForType:NSPasteboardTypeRTF
 
 
Q