Ios – Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly ‘120×120’ pixels

app-store-connectiosiphonexcode

My recent App Store upload gave me this error:

iTunes Store operation failed.
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.

I've added a 120 pixel icon file with the names "Icon-120.png" and "Icon-60@2x.png" and checked it's being added in the Build Phases > Copy Bundle Resources but I am still getting the same error.

Any suggestion what else I can try to solve this?

If it helps I've been working my way through this very lengthy SO answer: 'Missing recommended icon file – The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120×120' pixels, in .png format'
but yet to get to the bottom of this.

Also, I've done a Build > Clean and restarted Xcode.

====

$ file Icon-120.png 
Icon-120.png: PNG image data, 120 x 120, 8-bit/color RGBA, non-interlaced
$ file Icon-60\@2x.png 
Icon-60@2x.png: PNG image data, 120 x 120, 8-bit/color RGBA, non-interlaced

Best Answer

For Xcode 9 on High Sierra try this:

  1. Go to Menu Product > Archive, right click on your new build > Show in Finder.

  2. Open Terminal and change to Archive: (type cd + space, drag your new build *.xcarchive

     cd /Users/[user]/Library/Developer/Xcode/Archives/[XXX].xcarchive  
    
  3. Using @stubyte's code:

     find Products/ -name Info.plist -print0 | xargs -0n1 plutil -replace BuildMachineOSBuild -string 16A323
    
  4. Go back to Xcode > Windows > Organizer > Upload to App Store...

Fixed:

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 >= 10.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 >= 10.0."

Still warning

WARNING ITMS-90704: "Missing Marketing Icon. iOS Apps must include a 1024x1024px Marketing Icon in PNG format. Apps that do not include the Marketing Icon cannot be submitted for App Review or Beta App Review."

This temporary solution is working for me.

Related Topic