Project

appicon

0.02
No commit activity in last 3 years
No release in over 3 years
Convert and install iOS App icons into an XCode Asset Catalog.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
~> 10.0

Runtime

 Project Readme

Do you think it's annoying having to drag and drop images in your iOS app Asset Catalog every time an icon changes? Did you get the right image on the right size? Do you think it's a pain in the ass dealing with lots of sizes of the icon? Do you think these things could be automated?

Yes, they can be.

About

The appicon gem lets you only ever care about one icon, eg. the 1024x1024 iTunes version. The tool will check which sizes you have set up for your app icon in your Asset Catalog, generate all those icons for you and install them in your Asset Catalog. Done.

Installation

    $ gem install appicon

Appicon uses ImageMagick (http://www.imagemagick.org) for image conversion. Install it using brew:

    $ brew install imagemagick

Not sure if you've already got imagemagick? Check:

    $ convert --version

Usage

    $ appicon install iTunesIcon-1024x1024.png path/to/Images.xcassets

Contact

Found a bug or missing something? Let me know, or even better, file a pull request!

Erik Sundin

License

Appicon gem is available under the MIT license. See the LICENSE file for more info.