Post

Replies

Boosts

Views

Activity

Opening external storage in Finder is not working
I am trying to open external/mounted storage in Finder. I simply just want to show the root directory. I have tried multiple things, none worked. NSWorkspace.shared.open() Does work when opening the user's disk (e.g. Macintosh HD), but when comes to any of the external storages a warning appears: "The application "ABC" does not have permission to open "Folder Name". Now, the app ha been granted all permissions in the preferences (Full Disk Access + Files and Folders). Furthermore, I don't even need or care of accessing this directory from within my app. I want the Finder to open it. I am using com.apple.security.files.user-selected.read-only and testing on MacOS: 14.6.1
5
0
430
Sep ’24
TextField inside a List does not respect certain styling when in edit mode
TextField inside a List doesn't respect certain styling as for instance a background colour when it gets focused (edited). The right colour is only visible and working as long as the textfield has no focus. I have noticed height of the textfield also changes on focus, so it must be using some other style forced by the List. Setting the textfield's style to plain has no effect. Testing the same TextField inside a ScrollView or any other View, it's been working correctly, so I am assuming this is a SwiftUI bug? Is there no workaround for this? Tested on MacOS 14, Xcode 15.4. I've been also getting the following error coming from textfields although this has been already reported elsewhere. No idea if it's related somehow: CLIENT ERROR: TUINSRemoteViewController does not override -viewServiceDidTerminateWithError: and thus cannot react to catastrophic errors beyond logging them
2
1
283
Aug ’24