I wanted to create a macOS bundle for an application that I use frequently, and wanted it to have an attractive icon. I had a good PNG image, and knew that there must be a way to convert it to the multiple sizes required by modern macOS.
I found Ben Souchet’s png-to-icns repo that does exactly what I want. It takes a 1024×1024 PNG image, and outputs the desired .icns
file.