Post

Replies

Boosts

Views

Activity

Cannot create instance of NSSavePanel
I've recently migrated my MacOS app to deployment target 12.0 and when I try to create an instance of NSSavePanel, like this: let panel = NSSavePanel() I get the following error: 2023-02-07 18:11:49.362237+0100 Acsy[31010:8797816] [miscellany] CLIENT ERROR: remote view delegate NSSavePanel lacks method which can react to the details of Error Domain=NSCocoaErrorDomain Code=4097 "connection to service created from an endpoint" UserInfo={NSDebugDescription=connection to service created from an endpoint} 2023-02-07 18:11:49.362584+0100 Acsy[31010:8797816] [OpenSavePanels] Unable to display save panel (unrecognized error: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service created from an endpoint" UserInfo={NSDebugDescription=connection to service created from an endpoint}) Any ideas what this means? This used to work MacOS 11.5. I'm on Xcode 14.1 / Ventura 13.0 entitlements: com.apple.security.files.user-selected.read-write is set to true
6
1
1.1k
Feb ’23