Content of /tricks/ section is open-source.
You're welcome to:
Content of /tricks/ section is open-source.
You're welcome to:
Automagically generates all required iOS app icon sizes .appiconset from a single provided image for Xcode Asset Catalog .xcassets.
sips for image resizing).appiconset directoryUse directly with npx without installing:
npx @anydigital/ios-appiconset-generator
Or install locally:
npm install @anydigital/ios-appiconset-generator --save-dev
Navigate to your .appiconset directory:
cd ios/YourApp/Images.xcassets/AppIcon.appiconset
Run the generator:
npx @anydigital/ios-appiconset-generator # OR ios-appiconset-generator if installed locally
Optionally, place your source icon image as AppIcon.png in .appiconset directory (1024x1024 recommended) before running the generator.
The script will:
Contents.jsonContents.json with filenames if missingAppIcon.png doesn't existThe tool reads your Contents.json file, extracts the required icon sizes and scales, and uses macOS's sips utility to generate properly sized PNG files. It preserves the Xcode formatting of Contents.json when updating filenames.
/r/TricksForGeeks/comments/1pnnpwu/iosappiconsetgenerator
✨ found this useful? → give a star on GitHub or simply join TricksForGeeks on Reddit for more ✨
© 2025–2026