Missing required icon file

I am using Xcode Assets Folder and the icon file names layed out here https://docs.coronalabs.com/guide/distribution/xcAssets/index.html#xcode-assets-folder and i have double and triple checked my png files but on two different apps i get an error that I have a missing icon I am using the daily build because its the only one that works with ios sdk 11.0  I get the following error  ITMS-90022: “Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly ‘120x120’ pixels, in .png format for iOS versions >= 7.0.”

ERROR ITMS-90022: “Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly ‘120x120’ pixels, in .png format for iOS versions >= 7.0.”

ERROR ITMS-90328: “Your package contains a file 'LOA Timer iphone.app/Icon ’ with a name that contains invalid characters. Avoid using control characters in the file names.”

No I discover that different icons show up as missing its random 

It might not be a corona issue others on Apple Developer forum are having similar issues https://forums.developer.apple.com/thread/86290

Hi fastek2000, I recently built an app using Xcode 9, the latest build, assets folder, etc. and didn’t have any issues with icons. 

Thanks, Jeff its got me stumped completely

I think what I need is a sample app to build and compare everything 

I used the sample icons and they worked so some strange thing with my icons.  They worked before.  Progress I guess but it still reports my description length is a problem its 27 Characters including spaces this should be fine.  I have never had such problems.

What version of Corona are you using?

Rob

 version 2017.3145 of the daily build I cant use the public build because it doest work with the latest xcode which is what I have. 

I figured out most of the problem I was not including the Jason file that’s in the sample code.  Even with only the sample code and icons I still get an error about an invalid icon name.  Can anyone tell me what it uses for description length I need to fix that too. 

 package(s) were not uploaded because they had problems:

/var/folders/xt/04vdrm690m79y4n12429254r0000gn/T/B969563D-3693-4142-97EE-B8E536901076/494948291.itmsp - Error Messages:

description length:193434

ERROR ITMS-90328: “Your package contains a file 'LOA Timer iphone.app/Icon ’ with a name that contains invalid characters. Avoid using control characters in the file names.”

If you copy/pasted the text, there is some character between iphone.app/Icon and the closing tick mark.  That indicates that there is more likely a hidden character there. Look to see if you have any iOS type folder Icons on your project that could be getting injected in your project.

Rob

Rob it was a hidden file left behind by dropbox causing that issue.  I still have an inconsistent item description and 120 icon error but at least I found the cause of that one error  

I see the 120x120 error above. What is the other error?

I’d almost need to see the project to debug the icon error.  Just make sure your 120x120 doesn’t have an alpha channel. 

Rob

So for anyone who might be going through this, it looks like it is a transparency issue of sorts.  I manually saved all icons with no alpha channel and I next tried an online service to convert all icons.  I just did the same thing again with a different mac program and all the errors disappeared including the description length error  Thanks Rob for pointing back to the Transparency possibility. 

After following the advice of this thread and several others without any success, I finally happened upon the solution for my individual case, which I couldn’t find posted anywhere. Hopefully this helps someone. I was experiencing the same missing icon errors for 3 icon sizes including the 120x120 like the OP.

Solution:

Copy these files into their corresponding directories in your project:

~/Applications/SampleCode/Getting Started/HelloWorld/Images.xcassets/Contents.json

~/Applications/SampleCode/Getting Started/HelloWorld/Images.xcassets/AppIcon.appiconset/Contents.json

Not to ask the obvious, but if you copy the Images.xcassets folder, shouldn’t it copy those files too?

Rob

Haha yes, if indeed one were to copy the contents of the folder. However, since I already had my necessary icon assets from my existing project, I didn’t copy anything, I just followed the guidelines detailed in the documentation. Since it appears the two json files are necessary for successful submission, they really should be mentioned in the documentation alongside the list of png sizes. I only discovered the existence of those json files when, as a final troubleshooting step, I decided to try submitting to Apple with the generic Corona icons from a sample project (after resaving mine 5 different ways). Since they weren’t mentioned in the documentation, I assumed copying them into my project wouldn’t help, but I decided to try it anyway.

Hopefully, the docs will little be more clear now. 

Rob

I’ve got the same problem, please help.

ERROR ITMS-90022: "Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions \>= 7.0."ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '76x76' pixels, in .png format for iOS versions \>= 7.0." ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '167x167' pixels, in .png format for iOS versions supporting iPad Pro." ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '152x152' pixels, in .png format for iOS versions \>= 7.0."

I took the Images.xcassets right from the Resource Library dir, as is. I prepared the exact set of the icons manually - all by the samples in the dir. No transparency, no embed color profiles, etc - just a list of exact png images done by the doc.

Corona v. 2017.3163, the latest for now.

Any idea?

What happens if you submit with the default icon files that’s copied with the xcassets folder?

Rob