You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 15, 2022. It is now read-only.
AppIconResizer renders a given app icon png file into the different sizes Xcode needs for iOS projects in pure Swift, with no special dependencies on external tools. It also generates the required folder structure and json files.
mint run icon-resizer-swift icon-resizer-swift --devices iphone,ipad inputIcon.png
Resizes inputIcon.png to iPhone and iPad sizes.
mint run icon-resizer-swift icon-resizer-swift --devices iphone --badge badge.png --targetPath /Users/steve/dev/icons inputIcon.png
Resizes inputIcon.png to iPhone sizes with badge badge.png and saves it to /Users/steve/dev/icons.
Just run the tool to get all available options:
> mint run icon-resizer-swift icon-resizer-swift
🌱 Using num42/icon-resizer-swift 1.0.0 from Mintfile.
🌱 icon-resizer-swift 1.0.0 already installed
🌱 Running icon-resizer-swift 1.0.0...
Arguments:
inputPath - The path of your input app icon.
Options:
--devices [default: all] - The devices you need app icons for. Valid devices are iphone, ipad, watch and marketing. Use multiple devices by separating them with a comma.
--badge - Use this if you want a badge rendered on top of your app icon. Just give the path to the badge PNG.
--targetPath [default: /Users/admin/dev/Apps/template-app-beta-ios] - The path that the xcassets folder structure and app icons will be written to. If no path is given by the user, icons are written into the current path.