我最近的 App Store 上传给我这个错误:
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.
我添加了一个 120 像素的图标文件,名称为“Icon-120.png”和“Icon-60@2x.png”,并检查它是否被添加到“构建阶段”>“复制捆绑资源”中,但我仍然得到同样的错误。
还有什么建议可以尝试解决这个问题吗?
如果它有帮助,我一直在努力完成这个非常冗长的 SO 答案:'Missing recommended icon file - The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format' 但还没有深入了解这一点。
另外,我完成了构建 > 清理并重新启动了 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,试试这个:
转到“菜单产品”>“存档”,右键单击您的新构建 >“在 Finder 中显示”。
打开终端并更改为归档:(键入 cd + 空格,拖动新构建 *.xcarchive
cd /Users/[user]/Library/Developer/Xcode/Archives/[XXX].xcarchive
使用@stubyte 的代码:
find Products/ -name Info.plist -print0 | xargs -0n1 plutil -replace BuildMachineOSBuild -string 16A323
返回 Xcode > Windows > Organizer > 上传到 App Store...
固定:
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."
仍然警告
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."
这个临时解决方案对我有用。
关于ios - 缺少必需的图标文件。该 bundle 不包含 iPhone/iPod Touch 的应用程序图标,正好是 '120x120' 像素,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43942787/