缺少必需的图标文件.该捆绑包不包含精确为“120x120"像素的 iPhone/iPod Touch 应用程序图标 [英] Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels

查看:26
本文介绍了缺少必需的图标文件.该捆绑包不包含精确为“120x120"像素的 iPhone/iPod Touch 应用程序图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近上传的 App Store 给了我这个错误:

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.

我添加了一个名为Icon-120.png"和Icon-60@2x.png"的 120 像素图标文件,并检查它是否被添加到构建阶段 > 复制捆绑资源中,但我仍然得到同样的错误.

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?

如果它有帮助,我一直在努力解决这个非常冗长的 SO 答案:'缺少推荐的图标文件 - 该捆绑包不包含 .png 格式的精确120x120"像素的 iPhone/iPod Touch 应用程序图标'但还没有搞清楚.

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 '120x120' pixels, in .png format' but yet to get to the bottom of this.

此外,我已经完成了 Build > Clean 并重新启动了 Xcode.

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

推荐答案

对于 High Sierra 上的 Xcode 9 试试这个:

For Xcode 9 on High Sierra try this:

  1. 转到菜单产品>存档,右键单击您的新版本 >在 Finder 中显示.

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

打开终端并更改为存档:(键入 cd + 空格,拖动您的新构建 *.xcarchive

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

 cd /Users/[user]/Library/Developer/Xcode/Archives/[XXX].xcarchive  

  • 使用@stubyte 的代码:

  • Using @stubyte's code:

     find Products/ -name Info.plist -print0 | xargs -0n1 plutil -replace BuildMachineOSBuild -string 16A323
    

  • 回到 Xcode >窗口 >组织者 >上传到 App Store...

  • Go back to Xcode > Windows > Organizer > Upload to App Store...

    已修正:

    错误 ITMS-90022:缺少所需的图标文件.该捆绑包不包含适用于 iPhone/iPod Touch 的应用程序图标,其大小正好为120x120"像素,适用于 iOS 版本 >= 10.0 的 .png 格式."

    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."

    错误 ITMS-90023:缺少所需的图标文件.该捆绑包不包含适用于支持 iPad Pro 的 iOS 版本的 .png 格式的精确167x167"像素的 iPad 应用程序图标."

    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."

    错误 ITMS-90023:缺少所需的图标文件.该捆绑包不包含适用于 iPad 的应用程序图标,其像素正好为152x152",适用于 iOS 版本 >= 10.0 的 .png 格式."

    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."

    仍然警告

    警告 ITMS-90704:缺少营销图标.iOS 应用必须包含一个 1024x1024 像素的 PNG 格式营销图标.不包含营销图标的应用无法提交应用审核或 Beta 版应用审核."

    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.

    这篇关于缺少必需的图标文件.该捆绑包不包含精确为“120x120"像素的 iPhone/iPod Touch 应用程序图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    相关文章
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆