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?
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
I have same problem and find a solution works for me. Please try below steps:
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.
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>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With