Xcode 4.2 - App Loader: Unable to verify icon dimensions, no icon found

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-01 05:42:05

问题


I have never had this problems until I began to use Xcode 4.2. I'm getting the following error trying to upload my app:

Unable to verify icon dimensions, no icon found. Your minimum os version is below 3.2, so you must define CFBundleIconFile or provide a default Icon.png that is 57x57

I have an "Icon.png" image and is 57x57. I tried add it and remove it from info.plist. No success. I don't know what to do.

Here is my info.plist file

Info.plist edited again

SOLUTION

Thanks for your comments. The problem was that I was not following the right steps to prepare the app for submission in Xcode 4. It's very different to Xcode 3.2. If you follow the steps of this guide you will not have the issues I had.


回答1:


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

Here are the pages that Apple talks about the Icon guidelines:

iOS HIG - Custom Icon and Image Creation Guidelines
Apple Technical Q&A QA1686 - App Icons on iPad and iPhone


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




回答2:


The actual problem is that the specification of icon files in the Info.plist changed with iOS 5. Note that it says "Icon files (iOS 5)" in the Info.plist. If you specify a build target before 5.0 you will get the error messages mentioned, because specifying the icon files is different prior to 5.0! You can either change your build target to 5.0, or add icon specifications for older iOS. (That is actually what happened by adding the CFBundleIconFiles array to the Info.plist)

So, the problem is not in Xcode 3.2 versus Xcode 4.2, but in the iOS version you target with your App.




回答3:


When I encountered this issue with my app submission, I tried my best to assure icon is 57x57 pixel & properly added but somehow validations always failed. Finally I removed the app icons from Project summary, Plist file & project Navigator. Renamed these files in finder and added again to the project. Somehow this worked for me.




回答4:


I also faced same problem make sure that remove transparent pixel from icon i solved it




回答5:


Wanna share my experience (This is really a frustrating problem). I am using XCode 4.6.3

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

  1. Remove all icon files (the references) from my project.
  2. Remove the "Icon Files" entry in the info.plist
  3. Remove the App icons from the "Summary" tab of the project navigator (right-click on the icons and choose "Delete") for all the "Deployment" sections
  4. Make sure the icon file names are the same as specified at Apple's documentation ("I"con.png, instead of "i"con.png)
  5. Clean the project.
  6. Drag-and-drop the icon files into the "Resources"->"images" group in the project. And check the box for "Copy items to the destination group's folder(if needed).
  7. Open the Project Navigator and make the App icons visible (which should be empty now)
  8. Drag-and-drop the icon files (one-by-one) from the project file list to the App icon space (not from Finder). There will be a warning appear saying that a file is exist and confirm replacing it. Confirm.
  9. After doing 8, you can check the "Info" tab (i.e. the info.plist) of project navigator. The "Icon Files" entry appeared.
  10. Build the project (for Archive) again.

I don't know which step above did the trick (that's why I tried to be very specific about each step, though some looks silly), but it works for me. Good Luck!




回答6:


To avoid more replies, I post the solution (solved myself)

The problem was that I was not following the correct step to prepare the app for submission in Xcode 4. It's very different to Xcode 3.2. If you follow the steps of [link]weston-fl.com/blog/?p=2442 this guide you will not have the issues I had.



来源:https://stackoverflow.com/questions/8370940/xcode-4-2-app-loader-unable-to-verify-icon-dimensions-no-icon-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!