Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you define CFBundleIcons, CFBundleIconFiles, CFBundleIconFile?

Tags:

xcode

ios

This is my first time submitting an app to App store, so please bear with me. I'm using iOS 6.0.

I have managed to get to the last step, where I needed to validate and submit my app to Apple for evaluation to be put onto AppStore. However, at the very end, it gave me this error message during validation:

enter image description here

So, I checked the Info.plist file to made sure that I had included all neccessary icons for the app. I did have them all.

This is my info.plist:

enter image description here

Under "Icon file", "Icon files", and "Icon files (iOS 5)", I did provide a default 57x57 icon, an icon for iPad, and an icon for iPhone. They are present in the same directory of the project file.

What am I missing here? (I tried to add entries called "CFBundleIcons/File/Files", but there were no such entries to be added).


Below is my updated info.plist after I followed rmaddy's advise:

enter image description here

Now that all the icon files have been updated properly with the correct dimensions (no warning yellow triangle over the images on the Summary tab). Why am I still getting this same error message? What else do I miss?

like image 298
TATN Avatar asked Oct 22 '12 22:10

TATN


2 Answers

The simplest way to ensure all of your icons and launch images are setup correctly is to go to the Summary tab for your project's target (or targets if more than one) in Xcode. On the Summary tab is a section for iPhone / iPod touch Deployment Info and another for iPad Deployment Info. In each of these two sections is a place for App Icons and Launch Images. Click on each and load the proper image. If a yellow warning triangle appears then the image is the wrong size or possible some other issue. Filling in all of the images this way will properly update your Info.plist with the correct entries.

The screen you posted makes it clear you are trying to put the launch image (Default.png) and some screen shots where your icons belong. Default.png is a launch image. The screen shots don't go anywhere in your project. They get loaded at iTunes Connect.

like image 141
rmaddy Avatar answered Nov 24 '22 22:11

rmaddy


In my case I resolved the issue by making sure the names in the plist file matched the names of the files under General->App Icons. It has to have the exact same case

like image 44
Woland Avatar answered Nov 24 '22 21:11

Woland