danielsaidi / PrintingKit

PrintingKit is a Swift SDK that helps you print images, strings, views, PDFs etc. in Swift and SwiftUI.
MIT License
97 stars 12 forks source link

Error and missing Labels #3

Closed karlmira closed 8 months ago

karlmira commented 8 months ago

I'm using printingKit for printing pdf files. Since Update of Sonoma to 14.4 in the printing dialogue some labels are not displayed properly and xcode prints out some messages

/.../SourcePackages/checkouts/PrintingKit/Sources/PrintingKit/Printer.swift:143 Failed to connect (genericPrinterImage) outlet from (PMPrinterSelectionController) to (NSImageView): missing setter or instance variable /.../SourcePackages/checkouts/PrintingKit/Sources/PrintingKit/Printer.swift:143 Failed to connect (localPrintersLabel) outlet from (PMPrinterSelectionController) to (NSTextField): missing setter or instance variable /.../SourcePackages/checkouts/PrintingKit/Sources/PrintingKit/Printer.swift:143 Failed to connect (otherPrintersLabel) outlet from (PMPrinterSelectionController) to (NSTextField): missing setter or instance variable /.../SourcePackages/checkouts/PrintingKit/Sources/PrintingKit/Printer.swift:143 Failed to connect (recentPrintersLabel) outlet from (PMPrinterSelectionController) to (NSTextField): missing setter or instance variable

Bildschirmfoto 2024-03-10 um 09 58 03

I don't know if this is a bug in the system (macOS) or if new settings are needed.

danielsaidi commented 8 months ago

Hi @karlmira

Interesting - it used before, right?

karlmira commented 8 months ago

Hi @danielsaidi

very quick answer :-)

Yes, it worked great so far. Yesterday I made an update of Sonoma and today I recognized this behavior.

danielsaidi commented 8 months ago

That's interesting...I'll take a look when I use this package the next time. Until then, I'd love to hear of any more information that you may find or run into.

danielsaidi commented 8 months ago

Thank you for the sponsorship! 🙌 🍻

karlmira commented 8 months ago

You're very welcome. You are doing a great job. It's not much, but it comes from my heart.

danielsaidi commented 8 months ago

It's truly appreciated! ❤️

karlmira commented 8 months ago

Hi @danielsaidi,

ok, looks like it's an issue of testing environment. In production environment this problem doesn't appear.

danielsaidi commented 8 months ago

Huh, that's strange! Is the test environment also on Sonoma?

karlmira commented 8 months ago

it's both the same ( Sonoma)

danielsaidi commented 8 months ago

😵

danielsaidi commented 8 months ago

Well, closing this for now then.