Packaging Your Icon Resources
After you’ve created the necessary app icon assets, place them in folder a named icon.iconset. You can preview your .iconset folder to ensure the proper alignment and resolution handling of all your app icon resources. Select the folder in Finder and press Space bar to open Quick Look. You should see a slider at the bottom of the window. By adjusting the slider, you can view the various assets as though they are one icon.
Use the system-provided tools to convert your .iconset folder into a single .icns file. First, use an image-editing program to output your app icons in the PNG format, which preserves your design’s alpha values. Your source art files should use sRGB and retain their color profiles. You don’t need to compress image files because the tools used to package them take care of compression for you.
To create an .icns file, use iconutil in Terminal. Terminal is located in /Applications/Utilities/Terminal. Enter the command iconutil -c icns , where is the path to the .iconset folder. You must use iconutil, not Icon Composer, to create high-resolution .icns files. For more information, see “Provide High-Resolution Versions of All App Graphics Resources” in