I am experiencing an issue with a Mac Catalyst app for those on Catalina Mac OS X 10.15.7 (19H2026) with the Class UIMarkupTextPrintFormatter. The error experienced is that it is missing in the OS. I have used UIMarkupTextPrintFormatter in all previous versions of the app without issue and the developer documentation on this Class [https://developer.apple.com/documentation/uikit/uimarkuptextprintformatter] declares it is compatible with Mac Catalyst 13.1+ and I am building for a minimum target of 13.4. Does anyone have an idea of what is going on?
Mac Catalyst App Crashing on Catalina with missing symbol UIMarkupTextPrintFormatter
An update I have now even put a check on the code below to try to get around the issue Xcode 14.1(14B7) and I am still getting a crash on Catalina MacCatalyst 13 with the error
Termination Reason: DYLD, [0x4] Symbol missing
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Symbol not found: OBJC_CLASS$_UIMarkupTextPrintFormatter
@available(iOS 14, macCatalyst 14, *)
func printNote() {
let printInfo = UIPrintInfo(dictionary: nil)
printInfo.jobName = noteTitle
printInfo.outputType = .general
printInfo.orientation = .portrait
let formatter = UIMarkupTextPrintFormatter(markupText: htmlForSharing) ....
Has anyone else seen this behaviour