I tried using NSURL *url = [NSURL fileURLWithPath: path isDirectory:
NO
];
but it did not do what I want. I have a directory that is a bundle (it looks like a file to the user). I would like that bundle to be the default selection, but instead the contents of the bundle are displayed, which should not happen except by an explicit user request.
I used macos 15.6.