Reputation: 909
I got this error from Application Loader when uploading my app to App Store. My app was developed at the time of iOS 3.0, and still targets at iOS 4.3 and above. I recently updated the app to make it iOS7-compatible. But the Application Loader always returned this type of error to me. I searched the Internet and found that I am not alone. So I created this post and hopefully what I found out about the app icons can help other people.
Upvotes: 56
Views: 39853
Reputation: 3405
Found the same issue while building Cordova project.
Removing CFBundleIcon
with icon.png in info.plist
cleared the issue for me
Upvotes: 2
Reputation: 560
This error can have several causes as it seems. In my case, two Icon Files had the wrong pixel dimensions (generated by cordova). So you might check that.
Upvotes: 1
Reputation: 594
In order for me to fix this issue I had to add again one icon image.
The error mentioned 'CFBundleIcons':AppIcon40x40 file and when I checked the Images.xcassets
under the AppIcon
image set the image the Iphone Spotlight IOS 7-9 40pt was in fact with the wrong resolution so I dragged again from Finder the icon with 80x80 resolution (40x40 multiplied by the scale factor 2x).
Upvotes: 1
Reputation: 41
None of the above solutions worked in my particular instance.
In the end the following did work so in case anyone else has the same problem:
Upvotes: 4
Reputation: 491
Your recipe work's perfectly.
For my part,
I've select NameOfMyApp-info.plist in the Supporting Files.
I've only have to open the Key: Icon files.
I've just deleted all the string of image. (The error message in the Submit was exactly about those images.
I've try submiting again and : Submit Successful.
Thank's
Upvotes: 4
Reputation: 9915
My solution was: in 'build phases', under 'copy bundle resources', click '+' and choose all your icons.
good luck.
Upvotes: 10
Reputation:
I basically went into the info.plist and removed the icons that I didn't need. I started out with the Cocos2d template and didn't need most of them, so I deleted them all. When I archived the program and went to validate it, it gave errors such as "where is this icon and that icon?" Well, I deleted them all. But in the info.plist all 13 icons were still listed, so I just removed all the ones I deleted.
Upvotes: 1
Reputation: 7904
Sounds like you may, like me, have accepted the suggestion by XCode 5.0 to migrate your icon files to a catalog.
When you do that, you need to remove the CFBundleIconFile ("Icon file") parameter from your project's .plist file. That's the old way of doing this, and once you've migrated your icon files, obviously that parameter is incorrect.
Strange that XCode's migration doesn't fix this for you automatically. Would have been so very Apple to help you out there.
Upvotes: 96
Reputation: 909
If your app supports iOS 5.0 and up, moving all icon files to the Asset Catalog will work.
If your app still needs to support lower versions of iOS (like mine), the solution is to use the CFBundleIconFiles key in the project plist file. In my case, my app is an iPhone-only app, so I did the following:
After these steps, you should not have any problems with the icons when uploading your app to the App Store.
The Asset Catalog simplies some of the above steps, e.g, generating low resolution icon files (my guess).
I got the above info from "iOS Human Interface Guidelines", "iOS app programming guide" and "information property list reference". Search for "app icons" and everthing is explained.
Upvotes: 11