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
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:
Replies
Boosts
Views
Activity
Mar ’23
Reply to Cannot create instance of NSSavePanel
The issue is reproducable when creating a new project with storyboards in xcode 14.2. OS version is irrelevant. Fails in all. Also instantiation of NSOpenPanel gives the same error. creating a new project with SwiftUI works, with storyboards fails.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’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:
Replies
Boosts
Views
Activity
Feb ’23
Reply to Xcode 12 iOS 14 error purchase
This solved it for me: You must be signed in to the App Store with the same user as specified in: Menu: Product > Scheme > Edit Scheme > Test > info > Debug Process as: appstoreusername
Replies
Boosts
Views
Activity
Nov ’21