Post

Replies

Boosts

Views

Activity

Reply to Cannot create instance of NSSavePanel
I get this same error some of the time in a MacOS app I am writing. Running macOS Catalina Version 10.15.7 Xcode 11.3.1     let panel = NSOpenPanel()     panel.canChooseDirectories = true     panel.canChooseFiles = false     panel.allowsMultipleSelection = false     panel.resolvesAliases = true     let result = panel.runModal()     if result == NSApplication.ModalResponse.OK { ... } Something is suspicious, because I can get similar issues on other 3rd party programs I have built. I am running an older version of macOS, because I am slow to update all my software (about a days worth of work and usually a lot of breakage).
Mar ’23