Designed-for-iPad apps on macOS: Print sheet fails to appear

Summary: When running our iPad app on macOS (“Designed for iPad”), invoking UIPrintInteractionController intermittently fails to show a working print sheet. The same code works reliably on iPad or iOS devices and also on macOS pre 26. This regression started after updating to macOS Tahoe Version 26.0 (25A354)

Steps to Reproduce:

  1. Launch the attached minimal sample on macOS (Designed for iPad).
  2. Tap “Print plain text”

Expected Results: The print panel should appear and discover AirPrint printers reliably, as on iPad/iOS or previous mac versions.

Actual Results: On macOS, the panel fails to appear.

Mac version: macOS Tahoe 26.0 (25A354)

xCode version: 26.0 (17A324)

Sample Reproduction Code:

struct ContentView: View {
    var body: some View {
          Button("Print plain text") {
              printPlainText()
          }
          .buttonStyle(.borderedProminent)
          .padding()
    }
    
    func printPlainText() {
        let text = "This is just a sample print"
        guard UIPrintInteractionController.isPrintingAvailable else {
            NSLog("Printing not available on this device")
            return
        }

        let info = UIPrintInfo(dictionary: nil)
        info.outputType = .general
        info.jobName = "Plain Text"

        let formatter = UISimpleTextPrintFormatter(text: text)
        formatter.perPageContentInsets = UIEdgeInsets(top: 36, left: 36, bottom: 36, right: 36)

        let ctrl = UIPrintInteractionController.shared
        ctrl.printInfo = info
        ctrl.printFormatter = formatter

        DispatchQueue.main.async {
            ctrl.present(animated: true) { _, completed, error in
                if let error { NSLog("Print error: \(error.localizedDescription)") }
                else { NSLog(completed ? "Print completed" : "Print cancelled") }
            }
        }
    }
}

Also I have added the following values to info.plist:

<key>NSLocalNetworkUsageDescription</key>
<string>This app needs local network access to discover AirPrint printers.</string>
<key>NSBonjourServices</key>
<array>
    <string>_ipp._tcp.</string>
    <string>_ipps._tcp.</string>
    <string>_printer._tcp.</string>
</array>
Designed-for-iPad apps on macOS: Print sheet fails to appear
 
 
Q