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: