makeappicon

Generate an iconset for your iOS App.

Usage no npm install needed!

<script type="module">
  import makeappicon from 'https://cdn.skypack.dev/makeappicon';
</script>

README

makeappicon

Build Status

Open source alternative to makeappicon.com to generate all icons for your iOS Apps. This module generates all ios icons with a single command and produces a drag and drop ready AppIcon.appiconset!

Requirements

  • Homebrew to install packages on MacOS
  • gm/covert binaries in your $PATH as explained here. On MacOS, run the following:
brew uninstall imagemagick graphicsmagick libpng jpeg
brew cleanup -s
brew install graphicsmagick

Usage:

Fire up a terminal and type:

npm install -g makeappicon

Create a 1024x1024 png image and execute the script as such:

makeappicon --base-icon pathToBaseIcon.png

That takes the icon file and generates all the images that you need into the AppIcon.appiconset directory. Open XCode, open your Images.xcassets pane and delete the default AppIcon entry, now drag and drop the entire AppIcon.appiconset directory into that pane and you should be good to go! Build your app and you should see your new icon all over the place.

Troubleshooting

gm/convert binaries can't be found

If you get a message saying "this most likely means the gm/convert binaries can't be found", refer to Requirements.

Credits:

Disclaimer

This module is in no way, shape or form associated with OURSKY.

License

MIT © Leo Picado