Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I'm putting together a universal app and I have the icons in my project, but I keep getting a warning from the compiler in regards to Icon.png.

I followed the instructions at http://developer.apple.com/library/ios/#qa/qa2010/qa1686.html but still get the above error.

I've tried doing the following:

Putting the icons in the Shared group and adding them according to the plist according to the tech note. Changing the icon paths to add Shared/ to them to point to the shared folder.

Creating a Resources group (which the tech note fails to point out that XCode doesn't create a Resources Group for a universal app) and moving them into that (I removed the "Shared/" prefixes from the plist.)

Moving the icons to the top level of the project.

I've also double-checked the icon sizes and they are all correct, as well as the names of each.

Anything I might have missed?

like image 700
Eric Avatar asked Jan 07 '11 16:01

Eric


3 Answers

For some reason the (possibly when adding multiple icons and changing the file?) the item gets moved to item 1-... Make sure your icon is listed as item 0 in the plist

enter image description here

like image 53
SnowboardBruin Avatar answered Oct 13 '22 21:10

SnowboardBruin


I have same problem and find a solution works for me. Please try below steps:

  • Build > Clean All Targets
  • Renamed Icon.png to xcon.png
  • Renamed xcon.png to Icon.png
  • Build > Build and Archive
  • Resubmitted to iTunes connect - success!

Mostly do nothing but change the name of the Icon.png and change it back, but it works!

I have tried to use a 512*512 Icon.png for learning, but I copy a new one of 57*57 back later, then the issue come out, I think maybe it's the reason of this issue.

I am new on mac. My XCode4 crashes about 10 times a day. I am missing Visual studio.

like image 35
rml Avatar answered Oct 13 '22 23:10

rml


Here was my solution to this problem. There was an empty string in the MyApp-Info.plist file. I manually deleted it (in a text editor) and my app verified and uploaded.

<key>CFBundleIcons</key>
<dict>
    <key>CFBundlePrimaryIcon</key>
    <dict>
        <key>CFBundleIconFiles</key>
        <array>
            <string></string> <--------- Extra string shouldn't be there------
            <string>[email protected]</string>
            <string>Icon.png</string>
        </array>
    </dict>
</dict>
like image 39
nevan king Avatar answered Oct 13 '22 22:10

nevan king