ios - 缺少必需的图标文件。该 bundle 不包含 iPhone/iPod Touch 的应用程序图标,正好是 '120x120' 像素

标签 ios iphone xcode app-store-connect

我最近的 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,试试这个:

  1. 转到“菜单产品”>“存档”,右键单击您的新构建 >“在 Finder 中显示”。

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

     cd /Users/[user]/Library/Developer/Xcode/Archives/[XXX].xcarchive  
    
  3. 使用@stubyte 的代码:

     find Products/ -name Info.plist -print0 | xargs -0n1 plutil -replace BuildMachineOSBuild -string 16A323
    
  4. 返回 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/

相关文章:

iphone - uitableview 单元格中的自定义复选框出现错误

ios - 检测到堆损坏 - 仅限 iPhone 5S

ios - 在我的 iOS 应用程序中使用 https (SSL) 连接

swift - 从选择器中的不同类调用函数

xcode - 重命名 Xcode 项目不会更改文件系统项目文件夹名称 - 不是其他 Q 的重做

ios - Xcode UITableView 单元格背景不起作用

ios - 为 ui 组件提供绝对值 - 不适用于 iPad

android - Instagram “You Cannot Like this Media” 400 状态码

iphone - 赋值从整数生成指针而不进行强制转换

swift - xcode swift 3 锁屏 Remote 不工作?