Skip to content

Tool to generate App Icon set for iOS, macOS, watchOS apps

License

Notifications You must be signed in to change notification settings

abeintopalo/AppIconSetGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift Package Manager

What is AppIconSetGen?

AppIconSetGen is a command line tool that makes it easy to generate an App Icon set from a provided image asset (e.g. appIcon.pdf) for iOS, macOS, and watchOS platforms

Benefits:

  • Only a single vector source image is needed for the app icon
  • App Icon set generation can be added to project build phase.
  • All required app icon sizes are generated for a given platform

Installing

Using Make:

$ git clone git@github.com:abeintopalo/AppIconSetGen.git
$ cd AppIconSetGen
$ make

Using the Swift Package Manager:

$ git clone git@github.com:abeintopalo/AppIconSetGen.git
$ cd AppIconSetGen
$ swift build -c release
$ cp -f .build/release/AppIconSetGen /usr/local/bin/appiconsetgen

Requirements

AppIconSetGen requires the following to be installed on your system:

  • Xcode 10.2 or later to provide Swift 5.0 tool chain
  • Swift 5.0 runtime (bundled with macOS 10.14.4 or if you use earlier version of macOS install Swift 5 runtime
  • Git

Usage

AppIconSetGen is a command line tool appiconsetgen, you can either run it manually or in a custom build phase using following command:

$ appiconsetgen <input file> [--output <output path>] [--iOS] [--watchOS] [--macOS] [--appIconSetName]

Command line options

  • input file - Path to an image file (.pdf, .png, etc).
  • --iOS - Generates app icons for iOS
  • --watchOS - Generates app icons for watchOS
  • --macOS - Generates app icons for macOS
  • --output - Output folder for the generated App Icon set
  • --appIconSetName - App icon set name

License

AppIconSetGen is available under the MIT license. See LICENSE for more information.

Attributions

This tool is powered by

About

Tool to generate App Icon set for iOS, macOS, watchOS apps

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published