Post

Replies

Boosts

Views

Activity

Reply to Cannot create instance of NSSavePanel
In my case I solved the issue. The issue was related to a bundle Id of an app I have in the AppStore. Using that specific bundle Id in any app with NSOpenPanel (or NSSavePanel) resulted inthe error. Replace the bundle Id in the same project with another one and the problem goes away. Why? Some caching issue of XCode. Cleaning the build folder did not help. So I did a full uninstall and removal of all directories related to XCode. Then reinstalled XCode. No more problem. I'm thinking perhaps an outdated entry TCC.db?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’23
Reply to Cannot create instance of NSSavePanel
I'm fairly certain it's related to entitlements and possible App Groups. I'm now getting : [OpenSavePanels] Unable to display save panel (unrecognized error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service created from an endpoint was invalidated from this process." UserInfo={NSDebugDescription=The connection to service created from an endpoint was invalidated from this process.})
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’23