I have read the documlentation, asked Gemini, watched the (outdated) video, finally I was able to place a custom icon into the FileTypeGroup Icon area (one drop for every file !).
I ran the project (so debug mode), and I am asking why I do not saw the icon on my file(s) ?
So, I dropped once the same icon icns (Hey, this is a test !) to the App Icon area (only once, fill the first row, then many times to set all sizes).
Run the project,
Go to the Documents Xojo Debug folder,
See the icon into the .Debug file.
Now I ask here what I’ve done wrong (or what I do not do).
Last time that was working was with 2015r1 (I think, but not at 100%, I recall some troubles).
PS: Due to the thin CheckBox drawing width, the light grey color used, Gemini told me to click in the CheckBox and so I searched it and see it with a magnifying glass.
Mostly the fault of my old eye, but not only, current fashion is to blame too (draw things using a light grey and small pen size (I see that everywhere).
Before question(s), here’s the relevant snapshot.
Conforms To should be set to public.data for binary data or public.text for text based data. Mime types are fine. The “file type is unique to this app” should only be set if the file type really is created only by your app. You’ll notice if you drop a PDF on there (on a Mac) that the file type is owned by adobe. The identifier should be in the format of your application identifier, a hyphen, and the name of the file type. So if your company’s domain was www.example.com, your application name was “camera” and the file was a photo, your file identifier would be com.example.camera-photo. Rank should be owner, Role should be edit.
@Emile_Schwarz - make sure you remove the Conforms To type that starts with dyn. Those are the types that macOS makes when a file’s type is incorrectly set, macOS can’t figure it out from the mime type or the extension, or for files transferred to the Mac from a Windows or Linux machine.
Apple’s docs
It’s the old docs but I find that it’s a very good explanation of what’s going on.
@Emile_Schwarz - in terms of why this doesn’t work in debug mode, the only time macOS will look at your bundle for new icon definitions is when you increment the version number, even if it’s the non-release version, it should work.