iOS Icon Resolutions Creator Script

iOS icon resolutionsI saw a script online somewhere (stackoverflow?) a while back that created some iOS icon resolutions. I updated it and found it very useful.

iOS Icon Resolutions

Create in a directory and post the code below (don’t forget to chmod 777 the file). Then put the icon (1024×1024 png) in the same directory and run the script passing