Why doesn't icon composer 2.4 support the 1024x1024 size icon any more?
Asked Answered
G

2

5

The icon composer 2.2 in Xcode 4.3.3 supports the icns of 1024x1024. However, for icon composer 2.4, it doesn't support that any more. This is ironic, since Apple pushes for the retina display mbp and requires the newly submitted app to use 1024x1024 icon, but the icon composer doesn't support it any more.

Is there any alternative or newly introduced solution by Apple for creating the icon of the size 1024x1024? I really don't understand why Apple is doing this.

Thanks!

Galsworthy answered 2/8, 2012 at 3:50 Comment(0)
Y
27

Icon Composer 2.4 doesn't support 1024x1024 size icons anymore because the workflow for creating application icons for Mac or iOS apps has changed.

See the Provide High-Resolution Versions of All App Graphics Resources section of the High Resolution Guidelines for OS X.

The new workflow is as follows:

  1. Create a folder with the .iconset extension (for example MyApp.iconset)
  2. Place .png files with each files size:

    icon_16x16.png
    [email protected]
    icon_32x32.png
    [email protected]
    icon_128x128.png
    [email protected]
    icon_256x256.png
    [email protected]
    icon_512x512.png
    [email protected]

  3. Convert this .iconset directory structure to a .icns file. There are two options:
    • Drop your new .iconset folder into your Xcode project and use this as your Application icon.
    • Use iconutil -c icns -o myicon.icns myicon.iconset in the Terminal (no need to install XCode).

After doing this, everytime you build Xcode will compile your .iconset folder into a .icns file and use that in your application bundle. This has the distinct advantage of treating your application icon as a set of 'source images' from which the .icns file is derived.

Yolandoyolane answered 3/8, 2012 at 3:11 Comment(3)
Thank you. But at least I can create the images in different size using the Icon Composer. Now it seems that for each size, I have to create it separately. And this is really tedious.Galsworthy
To create the icons, use the free app Prepo. It is awesome.Foyer
@Foyer Prepo in "OS X" mode generates Icon_* filenames when it actually needs icon_* files, but it works after renameKnuckle
A
1

The latest version of Xcode obsoletes the need for this (I'm using Xcode 5.1). Just click on your Project in the top left of the file listing, then choose the General tab. There is a section for the Icon Assets, click the "Use Asset Catalog" and your project will be updated to automatically build the icons file for you.

enter image description here

Then just click the arrow next to the Asset Catalog and it'll open a screen which shows you each of the required icon sizes with spots for @1x and @2x densities.

enter image description here

Anthia answered 31/3, 2014 at 22:5 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.