Hi. I’ve noticed that no matter what quality images you include in the icons sections of the IDE the produced .icns file found in the resources folder post build does not match the ideal format sizes and quality recommended by Apple, especially to be retina compatible.
So what is the best way to replace them after the build other than always manually copying them over to the resources folder?
Will a Build Step > CopyFiles action work or do I have to use some kind of XojoScript…which I have no idea how to do?
Oh and yes you can use a copy file step AFTER build to rewrite the ICNS file if you wanted
If you dont rename the app icns file then you can just copy a new one in
but I’m more curious which ones dont match apple’s specs as they all should
My app icns file only has 5 icons in it not 10 with only the first (largest 1024x1024) at 144dpi and my app doc icns file has 6 not 10 with only the first (largest 1024x1024) at 144dpi. I use the Preview inspector to view the icns file information. To put the files in the project I pasted the same 1024x1024 png into each spot…using 2017 R1.1.
This might explain it… since Xojo has to scaled down that 1024x1024 into each of the required smaller sizes. The only way to get “the best quality” is to insert pictures of the required size that have already been optimized for best visual results