ERROR ITMS-90032:“Invalid Image Path - No image found at the path referenced under key 'CFBundleIcons':AppIcon40x40”

匿名 (未验证) 提交于 2019-12-03 02:56:01

问题:

I get this "No image found at the path referenced under key 'CFBundleIcons':" error,

even when i have added app icon images in Images.xcastes folder, while uploading my app to appstore. Your immediate response is appreciated. Thanks

回答1:

I had a similar issue when submitting my app. Same message except it was AppIcon120x120. The problem being on the new xcasset layout there is a new CarPlay icon for iOS8. Clearing that icon fixed it, which I filled in out of habit. Here is where I found the answer. 90032 invalid image problem.



回答2:

I got this error; all my images were correctly located in the Images.xcassets folder, and it compiled, verified and ran OK on my development system. So I just deleted the bad key from the -Info.plist file.

Then the upload to the app store went without complaint. YMMV.



回答3:

I got the same error when I submitted my app with a watchkit extension. This is the solution that worked for me :

  1. Deleted the AppIcon Image set from my Xcode project Images.xcassets with all the icons that I added.
  2. Then recreate the AppIcon Image set from + button below when you select the Images.xcassets file. You can do this by clicking the plus button then select New App Icon.
  3. A new AppIcon Image set will be created. Now, add all the required icons that you app support.Make sure they are in the PNG-24 format.
  4. Finally, I selected my app name Target and under General tab I scrolled down to the section App Icons and Lunch Images and selected the newly created AppIcon images set in the App Icons Source
  5. Clean your project and rebuild. This solution worked for me and removed the errors.


回答4:

Make sure your images are not corrupted and are in the right format (png24). I had one bad image that was tripping me up. After trying everything else, I incidentally discovered the bad one. Wouldn't it be nice if we got a meaningful error message about this.



回答5:

I have found out the solution to this post and here I am going to explain it how I could solve this issue.

1) Remove all the app icons from the Images.Xcassets folder and add them into your main bundle. Shown in the figure below.

2) Go to info plist and add "Icon files(iOS 5)" dictionary and add the app icon names under the strings(name of the once you are using in your app). Its shown in the figure below. Make sure that the images are png files. And you will be done wit this.Thanks



回答6:

I'm using Xamarin Studio V 5.10.3 and had a few issues while using Application Loader to submit the .ipa file to the App Store.

I also had this ERROR itms-90022 due to missing 120x120 icon. Of course I had included the 120x120 file in the Images.xcassets --> AppIcons.appiconset --> Contents.json file....so I wasn't sure what the issue was.

What finally worked for me was: 1) Based on the first answer to this question, I removed the CarPlay 120x120 and 180x180 images from the Contents.json reference. I tried getting it to go through again, but it failed..still claiming it was missing the 120x120 file.

2) I noticed that there were 2 files of size 120x120 (I had uploaded a 40pt x 3 = 120x120 AND a 60pt x 2, which also = 120x120. Perhaps they were conflicting!) I removed one of them.... tried again.. STILL no go.

3) I deleted the AppIcons.apppiconset folder from the project completely and recreated it by right clicking on Images.xcassets and choosing Add --> New App Icon. I recreated the Contents.json, making sure to not use 2 different versions of the 120x120 file. Once they were all filled in, I tried submitting through Application Loader again and IT WORKED!

Short answer = delete your AppIcons.appiconset folder and recreate it. Make sure you aren't using 2 different files that are the same size (like 40pt x3 and 60pt x2).



回答7:

Designer sent me jpeg files, I was lazy renaming to png manually and adding to Assets. There was no complaint from Xcode, but got the error when uploading into Appstore. So, I converted by tools and it worked OK.



回答8:

Make sure that you are using the Image asset folder for the App Icons.

Remove Resource bundle's Icon and icon name from the info Plist.

You need to use the icon form the info plist or App Icon from the Image asset folder.

Don't use both because it will always give preference to info plist.

I removed the ICONs from the Resource bundle and added to the Image asset folder.



回答9:

Cause Of Problem

This usually happens when Application Loader & iTunes Connect could not find an icon file with the specified name (AppIcon40x40 here) in your Icon directory.

Sometimes you may have all the required sizes of Icons added to your project but still you may find this error because of icon naming conflicts.

List Of Icon File Names iOS 7

Solution

Go To Info.plist->CFBundleIcons and compare all your actual icon files with the entries here(compare exact names), delete any extra ones here which may be causing this kind of an error during upload.



回答10:

I have experienced the same issue with Cordova. To solve it, I have just exported all of the pictures on images.xcassets/AppIcon.appiconset in another folder of my laptop and deleted all of them in Xcode.

Then, clean and build your project.

Drag and drop pictures from your folder to Xcode and clean/build one more time.



回答11:

To post your app to AppStore/iTunes you will have to create all these variants of app icon.

You need following: 29x29 57x57 40x40 60x60 120x120 50x50 etc.

To successfully pass validation, go through these errors, and create corresponding app icons. Easiest way to do this is to create app icon in xcassets. You will also have to set launch images and app icons in Targets->your app->General->App icon source and Launch image source.

Here is a screenshot of blank App Icon in xcassets:

Prepare 1024x1024 image as well, because you will need it for the form before publishing app. This image will be used for app icon on iTunes.

And for screenshots (you will need these as well) you can use: https://github.com/KrauseFx/snapshot



回答12:

Open the contents.json file located in the Images.xcassets > AppIcon.appiconset folder in a text-editor application. Check each file reference and make sure it mentions a valid file in that folder. If any are missing or named differently, change the text to a valid file.

Save the file then do what you normally do to submit. Happy successful submissions?



回答13:

For me the solution was that Xcode accepts wrong image sizes in Assets, but they fail at the validation. More precisely I had a 40x40 PNG image sitting in a 20x20 @1x box, so it was not valid.



回答14:

Delete all images and recreate them with png format make sure "png".Maybe its showing png but some problem is there so make sure png.Try to make it png with some other formula as well, then add it will work.This solved mine.



回答15:

I had the same problem with a cordova 6.3.0 (ios 4.2.0) project on xcode 7.3.1.

The solution was to open the Images.xcassets file and remove any icon with "spotlight" in the name. (I also opened the .plist file and deleted any key with "Icon" in the name, but I suspect that was not needed.)



回答16:

Well, I have just came across this issue. And the cause is pretty odd. The icon file's name is not exactly same with the name in my info.plist. Just the first letter, one is uppercase while the other is lowercase. It's fine while running debug mode though, It don't work while I upload it onto the App Store.



回答17:

I just upgraded to Unity 5.6, and began getting this error in my iOS builds.

Looking over everyone's replies- it is clear that this is to do with pointing at CFBundleIcons / AppIcons. In my case the solution was that the BundleID had been dumped by the Unity project upgrade. Unity had set them back to default "com.CompanyName.ProductName" value, and setting my app's BundleID was the simple fix.



回答18:

For those who found the same issue while building a Cordova project.

Removing CFBundleIcon with icon.png in info.plist cleared the issue for me



回答19:

the best way (for me) is directory : Images.xcassets file = empty and remove from Xcode all icon. From other directory of your computer drag each icon in Xcode, one by one, clean and build => ok !



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