A Sketch plugin which can export artboards or slice to ICNS.
It works both with the sandboxed (from App Store) and standalone versions of Sketch.
-
Download the latest ZIP file of this plugin.
-
Extract a folder from the ZIP file and rename it to
Export to ICNS
. -
Open Sketch plugins folder.
You can access the Plugins folder easily by using the
Plugins › Reveal Plugins Folder
menu option from Sketch. -
Copy the folder
Export to ICNS
to the revealed plugins directory.
- Create artboards by going to
File › New From Template › Mac App Icon
in the menu. - Design your icon on these artboards.
- Choose
Plugins › Export to ICNS › From Artboards
.
Note: You should not rename the artboards. You can prevent individual artboards from exporting by appending
Lock
to the name.
- Design your icon(s);
- Create a slice if you do not want to export the entire artboard;
- Select the slice or artboard you want to export;
- Choose
Plugins › Export to ICNS › From Slice
.
Note: The artboard should not be smaller than 1024x1024, or the hi-res icons will appear blurry.
If you have any trouble with this plugin, feel free to open an issue.
This plugin is a blend of existing technologies, and has very little original code in it. Here's what it uses:
- Generate ICNS, from Nathan Rutzky
- Sketch Commands, from Ale Muñoz