Ios icons not showing up

small bug:

xcode 4.3.2
added two icons to introjucer (compiled today): 72x72 and 144x144 as we’re on ipad
rebuilt, but no sign of the icons on ios.
can’t see them in the build summary infoi (app icon) but my target (in xcode) does show the icon I used…

  • bram

bump ! :slight_smile:

  • bram

Those aren’t valid icon sizes for iOS:

Mmmm, yes they are:


You are referring to OSX icons, not iOS icons. Actually and interestingly, on osx (using exactly the same PNG’s in Introjucer) it works just fine - even though the icons are not the right size.

  • bram

ah, I see… Well, I’m a bit stuck then - they must have changed the icon file format to allow these new sizes, but I can’t find any info about how to encode the entries for them… The file requires that each size has an OSType marker, and the only list of OSTypes I can find is on that wiki page, and doesn’t include those sizes. Haven’t time to reverse-engineer the format right now, I’m afraid, but if someone can point me at the format details, it’d probably be quite easy to update the code to use it.

Maybe it’d be a good idea to move this thread to the OSX/iOS forum?
I have no idea where to even start looking for this, people with more iOS experience might have a better idea…

  • bram

FYI I’ve updated the icon stuff now to handle 256, 512 and 1024 sizes. Adding 72 and 144 should just involve finding out what the OSTypes are for those sizes.


Would this just be a question of adding icons manually to the xcode project and reverse-engineering them?

  • bram

Yeah, you’d have to dig around in the .icns file to see what numbers the Apple tools put in there.

FWIW, I thought iOS didn’t use .icns files like OS-X. I thought it was just a matter of adding PNGs with specific names tot he bundle and providing the correct keys in the bundle .plist.

Oh, FFS Apple…

It does look like having an icns file is also supported, but this is obviously yet another completely different way of creating icons.

Hey Jules,

I rebuilt the Introjucer yesterday and recreated my projects, but still no icons… Should I be doing something special or wasn’t this implemented yet?

I did see some icns file in the project, but when I deploy to our ipads (I tried iPad2 & iPad3), still no icons…

  • bram

The icns file stuff works fine, but I haven’t looked at doing anything iOS-specific with PNGs

Ah ok…
So no icons yet for iOS.

  • bram

[quote=“bdejong”]Ah ok…
So no icons yet for iOS.[/quote]

Add them manually in your xcode project.


Recreating the project in the introjucer would wipe out those changes again, so I’d rather not…


Bump .... how are people getting icons to work on iOS? I've followed the naming conventions and have the correct sizes, tried adding them via IJ, but no luck.

Just add the icons to the project and make sure they are not added to the binary resources or compiled (so they get copied into the ipa bundle).

If you make sure they are named appropriately Xcode will pick them up and use them:


Can confirm - this is what I figured out shortly after posting this.


Not sure the difference, but the names I used are more like:


XCode incorrectly tells me there is no icon, but then when it builds, it is there.