An App Icon Generator for Xcode iOS Development, written with Python 3.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
py2app
.gitignore
.travis.yml
DGtech.jpg
LICENSE
README.md
iOSAppIconGenerator.py
requirements.txt

README.md

iOSAppIconGenerator

Build Status license

iOS App Icon Generator for Xcode - written in Python by @dorukgezici.

Check out the blog post: http://dorukgezici.com/ios-app-icon-generator-script/

Usage

Put the image you want to use as your app icon in the same directory as the script and the script will generate all the resized images you need and put them in the Xcode format “AppIcon.appiconset” folder. The only thing left for you to do is to drag that folder in your Xcode project assests.

How to use my script:

  1. You have to have python 3.x installed. Look at python.org for instructions.

  2. Install the Python Library “Pillow” by the command: pip install Pillow

  3. Download the script "iOSAppIconGenerator.py". The image you want to use must be in the same folder as the script (*.png or *.jpg).

  4. You have two options for running the script. You can run it with Python Launcher if you installed python from python.org or you can just run it from terminal. So 2 options are:

  • Just right click the script and open with Python Launcher. The script will automatically find the image in its current folder and create a new folder within with resized images and a contents.json file.  - Change directory (cd) to the directory you have the script and the picture from terminal. Then run this command: python3 iOSAppIconGenerator.py

The asset folder is ready! Just drag the created folder in your Xcode project assets. Don’t forget to delete the old empty asset folder named “AppIcon” and rename the new folder to the same name. Please keep in mind that this is just a 2 hours project and the script has no error handling whatsoever. So if you come across any bugs leave a comment!