Xcode 4.2 - application loader: unable to check icon sizes, icon not found

I never had such problems until I started using Xcode 4.2. I get the following error when trying to download my application:

Unable to check icon sizes, icon not found. Your minimum version is lower than 3.2, so you must define CFBundleIconFile or provide default Icon.png, 57x57

I have an image of "Icon.png" and is equal to 57x57. I tried adding it and removing it from info.plist. No success. I do not know what to do.

enter image description here

Here is my info.plist file

enter image description here

Info.plist edited again

enter image description here

Decision

Thanks for your comments. The problem was that I did not follow the correct steps to prepare the application for shipping in Xcode 4. This is very different from Xcode 3.2. If you follow the steps in this guide , you will not have the problems that I had.

+6
source share
6 answers

To avoid more answers, I submit a solution (solved by myself)

The problem was that I did not follow the right step in preparing the application to ship to Xcode 4. This is very different from Xcode 3.2. If you follow the [link] weston-fl.com/blog/?p=2442 steps in this guide you will not have the problems that I had.

-3
source

Make sure your Info.plist has these entries and that the file names match exactly (iOS 5 icons may not be needed, but it doesn't bother to include them):

enter image description here

Here are the pages where Apple talks about icon pointers:

iOS HIG - User Guide for Creating Icons and Images
Apple Technical Q & A QA1686 - Application Icons on iPad and iPhone


This is the same as above, but with Raw key / value pairs:

enter image description here

+6
source

The actual problem is that the specification of the icon files in Info.plist has changed from iOS 5. Note that Info.plist says "Icon Files (iOS 5)." If you specify the build target before 5.0, you will receive the error messages mentioned, since the indication of the icon files differs to 5.0! You can either change the build target to 5.0, or add icon specifications for older iOS. (This actually happened by adding an array of CFBundleIconFiles to Info.plist)

So, the problem is not in Xcode 3.2 compared to Xcode 4.2, but in the iOS version that you are targeting with your application.

+4
source

When I encountered this problem when presenting my application, I tried my best to make sure that the icon is 57x57 pixels and correctly added, but somehow the validation always failed. Finally, I removed the application icons from the project summary, the Plist file, and the Project Navigator. Renamed these files to finder and added them to the project again. Somehow it worked for me.

0
source

I also ran into the same problem to remove a transparent pixel from an icon that I solved it

0
source

We invite you to share your experience (This is really a nasty problem). I am using Xcode 4.6.3

When I almost gave up after long hours of trial error n, I did the following:

  • Delete all icon files (links) from my project.
  • Delete the "Icon Files" entry in the info.plist file
  • Delete application icons on the Summary tab of the project navigator (right-click on the icons and select Delete) for all Deployment sections
  • Make sure that the icon file names are the same as indicated in the Apple Documentation ("i" con.png, instead of "i" con.png)
  • Clean up the project.
  • Drag and drop the icon files into the "Resources" β†’ "Images" group in the project. And check the box "Copy items to the folder of the target group (if necessary).
  • Open the Project Navigator and make the application icons visible (now they should be empty)
  • Drag and drop the icon files (one after the other) from the list of project files into the application icon space (not from Finder). A warning appears that the file exists and confirms its replacement. Confirm.
  • After completing 8, you can check the "Information" tab (i.e. info.plist) of the project navigator. The "Icon Files" entry has appeared.
  • Create the project again (for archive).

I don’t know which step above did the trick (why I tried to be very specific at every step, although some look silly), but this works for me. Good luck

0
source

Source: https://habr.com/ru/post/903015/


All Articles