How to Export App Icons for Xcode
Getting your app icon into Xcode correctly is critical — a misconfigured asset catalog can cause build errors or fuzzy icons. Here's the complete guide for both manual and AI-powered workflows.
Method 1: Single Icon (Xcode 15+, Recommended)
Since Xcode 15, Apple simplified the process. You only need one 1024×1024 PNG.
- Create your icon at exactly 1024×1024 pixels, PNG format, no transparency
- Open your project in Xcode and navigate to
Assets.xcassets - Select AppIcon in the asset catalog sidebar
- Set "All Sizes" to "Automatic" in the Attributes Inspector (right panel)
- Drag your 1024×1024 PNG into the single icon well
- Build and run — Xcode generates all platform-specific sizes automatically
Method 2: Full .appiconset (Pixel-Perfect Control)
If you want to hand-optimize icons at small sizes (recommended for detailed icons):
- Generate all sizes from your 1024×1024 master (use Sketch, Figma, or IconBundlr)
- Create a folder named
AppIcon.appiconset - Add a
Contents.jsonmanifest listing each image filename, size, scale, and platform - Drop all PNG files into the folder alongside Contents.json
- Replace the existing AppIcon folder in
Assets.xcassetswith your new one
Method 3: AI-Powered with IconBundlr (Fastest)
IconBundlr combines icon generation and Xcode export into one step:
- Describe your icon in plain English (e.g., "a purple rocket with gradient background")
- AI generates multiple options — pick your favorite
- Export as .appiconset — ready to drag directly into Xcode
- Total time: ~2 minutes from concept to Xcode-ready
From Idea to Xcode in 2 Minutes
IconBundlr generates icons with AI and exports a complete .appiconset — no design tools needed.
Download Free on iOSCommon Mistakes to Avoid
- Transparency/Alpha: iOS rejects icons with alpha channels. Ensure your PNG has no transparency.
- Rounded corners: Never add rounded corners to your icon — iOS applies the supercircle mask automatically.
- Wrong resolution: The 1024×1024 icon must be exactly 1024×1024 pixels, not upscaled from a smaller image.
- Missing sizes: If using the manual method, every size in Contents.json must have a corresponding PNG file.
Frequently Asked Questions
What is an .appiconset?
An .appiconset is a folder inside an Xcode Asset Catalog that contains your app icon images and a Contents.json manifest. It tells Xcode which image to use for each platform and size.
Can I use a single icon for all sizes?
Yes, since Xcode 15. Provide a single 1024×1024 PNG and Xcode auto-generates all required sizes. This is the recommended approach.
Why does my icon look blurry on device?
Blurry icons usually mean your source image is too small or has been upscaled. Always start with a crisp 1024×1024 original.