AppIcon generates *.appiconset contains each resolution image for iOS
Swift Ruby Makefile
Clone or download
Latest commit 3c59c20 Jun 3, 2018

README.md

AppIcon

Build Status platforms GitHub license GitHub release Xcode Swift Swift Package Manager compatible

AppIcon generates *.appiconset contains each resolution image for iOS, MacOS.

AppIcon.appiconset
├── Contents.json
├── AppIcon-20.0x20.0@2x.png
├── AppIcon-20.0x20.0@3x.png
├── AppIcon-29.0x29.0@2x.png
├── AppIcon-29.0x29.0@3x.png
├── AppIcon-40.0x40.0@2x.png
├── AppIcon-40.0x40.0@3x.png
├── AppIcon-60.0x60.0@2x.png
└── AppIcon-60.0x60.0@3x.png

Demo

Installation

Homebrew

$ brew install Nonchalant/appicon/appicon

Manual

Clone the master branch of the repository, then run make install.

$ git clone https://github.com/Nonchalant/AppIcon.git
$ make install

Usage

AppIcon needs path of base image(.png). The size of base image is 1024x1024 pixel preferably.

$ appicon iTunesIcon-1024x1024.png

Option

You can see options by appicon --help.

--icon-name

Default: AppIcon

--output-path

Default: ./AppIcon.appiconset

--ipad

Default: false

--mac

Default: false

Develop

Install Gems

$ bundle install --path=vendor/bundle

Generate Xcode project

$ swift package generate-xcodeproj

or

$ make xcode

Runs release build

$ bundle exec fastlane build

Runs tests

$ bundle exec fastlane test

Author

Takeshi Ihara afrontier829@gmail.com

License

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