Missing icon for iPad only

Hi,

I’m working on an iPad only app. I’ve already added all of the icons and launch images and looks good but when I build it I get this message: 

“warning: Icon specified in the Info.plist not found under the top level app wrapper: Icon.png (-19007)”

This is how my build.settings file looks:

settings = { orientation = { default = "landscapeRight", supported = { "landscapeLeft", "landscapeRight" } }, iphone = { plist = { UIStatusBarHidden = true, UIPrerenderedIcon = true, CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon-72.png", "Icon-72@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "iTunesArtwork", "iTunesArtwork@2x" }, } }, }

And the icon files under the project directory are these:

  • Icon-72.png                     (72 X 72)

  • Icon-72@2x.png               (144 X 144)

  • Icon-Small-50.png            (50 X 50)

  • Icon-Small-50@2x.png     (100 X 100)

I’ve noticed that if I change the  CFBundleIconFile line to “Icon-72.png” instead of “Icon.png” the message error disappears but I’m not sure if this is correct because all of the samples I’ve seen uses “Icon.png”.

What is the correct way to solve the problem? Should I include the “Icon.png” (57x57) icon too?

Thanks for your help.

Best regards,

Paolo

Perhaps try removing this line:

CFBundleIconFile = “Icon.png”,

or also include Icon.png at 72x72.

Hi Rob,

Thanks for the tips. I’ve tried these combinations:

  1. Changing the line to CFBundleIconFile = “Icon-72.png”

  2. Removing the whole line CFBundleIconFile = “Icon.png” (as suggested)

  3. Using CFBundleIconFile = “Icon.png” and including “Icon.png” in the CFBundleIconFiles table as well as adding an extra  “Icon.png” at 72x72 in the project folder (as suggested)

All of them worked correctly and passed the verification but I’m still confused. What is the correct method to use? is CFBundleIconFile really needed?

Thanks for your help.

Best regards,

Paolo

Looking at the Info Plist Key Reference I found this:

If you are writing an iOS app, you should prefer the use of the “CFBundleIconFiles” key over this one.

“over this one” refers to the “CFBundleIconFile” key.

So I’ve just removed that line and use these icons as mentioned in the first post:

  • Icon-72.png                     (72 X 72)

  • Icon-72@2x.png               (144 X 144)

  • Icon-Small-50.png            (50 X 50)

  • Icon-Small-50@2x.png     (100 X 100)

 

It builds correctly. I’m gonna submit the app. Let’s see what happens  :slight_smile:

 

Best regards,

 

Paolo

Perhaps try removing this line:

CFBundleIconFile = “Icon.png”,

or also include Icon.png at 72x72.

Hi Rob,

Thanks for the tips. I’ve tried these combinations:

  1. Changing the line to CFBundleIconFile = “Icon-72.png”

  2. Removing the whole line CFBundleIconFile = “Icon.png” (as suggested)

  3. Using CFBundleIconFile = “Icon.png” and including “Icon.png” in the CFBundleIconFiles table as well as adding an extra  “Icon.png” at 72x72 in the project folder (as suggested)

All of them worked correctly and passed the verification but I’m still confused. What is the correct method to use? is CFBundleIconFile really needed?

Thanks for your help.

Best regards,

Paolo

Looking at the Info Plist Key Reference I found this:

If you are writing an iOS app, you should prefer the use of the “CFBundleIconFiles” key over this one.

“over this one” refers to the “CFBundleIconFile” key.

So I’ve just removed that line and use these icons as mentioned in the first post:

  • Icon-72.png                     (72 X 72)

  • Icon-72@2x.png               (144 X 144)

  • Icon-Small-50.png            (50 X 50)

  • Icon-Small-50@2x.png     (100 X 100)

 

It builds correctly. I’m gonna submit the app. Let’s see what happens  :slight_smile:

 

Best regards,

 

Paolo

look here please http://megaicons.net/

look here please http://megaicons.net/