Posts

Post marked as solved
4 Replies
Actually, neither 😉 When a user selects a “protected” file or folder in an NSOpenPanel in a non-sandboxed app on Catalina, consent is inferred and the app can access it. This access seems to implicitly persists across app launches and reinstalls (i.e. no security-scoped bookmarks). The access is not reflected in System Preferences > Security. And I haven’t found a way to reset it (e.g. tccutil), which is the reason for this posting 😊
Post marked as solved
4 Replies
... still looking for a way to do this. Is everyone just using VMs to test and debug their non-sandboxed apps that rely on inferred user consent? There must be a simple way to reset the the implicitly granted access permissions that I'm missing 🤔
Post not yet marked as solved
5 Replies
Hm, are you building against an older SDK? Haven't tried, but as NSDesktopFolderUsageDescription is new in 10.15, it might just not be used for apps that have been built with an older SDK...
Post not yet marked as solved
5 Replies
In Catalina I have added "Privacy - Document Folder Usage Description" : "Catalina wants to access your Destkop folder" in Info.plist The file you are quoting ( "/Users/catalina/Desktop/Doc.docx") is on the Desktop, but your usage description is for the Documents folder. You should see the custom string if you use "Privacy - Desktop Folder Usage Description" instead.