缺少必需的图标文件。该捆绑包不包含完全'120x120'像素的iPhone / iPod Touch的应用程序图标 [英] Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels
问题描述
我最近的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.
我添加了一个120像素的图标文件,名称为Icon-120.png和 Icon-60@2x.png并检查它是否在Build Phases> Copy Bundle Resources中添加,但我仍然遇到同样的错误。
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?
如果有帮助的话,我一直在努力解决这个非常冗长的答案:'缺少推荐的图标文件 - 该软件包不包含iPhone的应用程序图标/ iPod Touch完全'120x120'像素,.png格式'
但尚未达到底部。
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
推荐答案
如果您使用xcode 9,也许试试这个。
查找xcarchive文件,执行此命令。
If you use xcode 9, maybe try this. Find xcarchive file, execute this command.
查找产品/ -name Info.plist -print0 | xargs -0n1 plutil -replace BuildMachineOSBuild -string 16A323
访问开发者网站 stubyte的回答。
Visit developer site stubyte`s answer.
这篇关于缺少必需的图标文件。该捆绑包不包含完全'120x120'像素的iPhone / iPod Touch的应用程序图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!