Post

Replies

Boosts

Views

Activity

Comment on Opening external storage in Finder is not working
Hey, I did actually tried this as well as other alternatives of the same command. It is also not working. It returns false. It only works with the main volume. I have tried NSWorkspace.shared.open(url, withApplicationAt: configuration) and I'm getting error from Finder: NSUnderlyingError=0x600001653480 {Error Domain=NSOSStatusErrorDomain Code=-54 "permErr: permissions error (on file open)" UserInfo={_LSLine=4129, _LSFunction=_LSOpenStuffCallLocal . What other permission is missing?
Sep ’24
Comment on Opening external storage in Finder is not working
Thanks a lot for your reply. I have tried all APIs you mentioned before I even posted this question (see also my reply for the 1st answer). When comes to disk images, I have tried it with a few types and none worked. Currently I'm testing it with APFS. The same about .activateFileViewerSelecting(). As you already stated I have to select a particular file in order to get inside the dir (volume) - this unfortunately won't work for me. My app lets users click on a volume which should open Finder
Sep ’24