This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Recently switched an in-house level app with 20+ targets to universal app so we were in need to update 200+ icons, | |
#this is a small quick and dirty script used to resize all icons to what ios expects, checking Contents.json (solves warnings). | |
#WARNING USE IT AT YOUR OWN RISK!! | |
#Please note that this may downscale or upscale your images based on the original ones. | |
#Must be run at Images.xcassets level | |
#Requirements | |
# jq for JSON parsing | |
# imagemagick for image rescaling | |
for d in *.appiconset; do |