我提交了一个应用程序更新,但我收到了一封电子邮件,告诉我这个错误已经发生:
缺少推荐的图标文件-该包不包含iPhone / iPod Touch的精确的“120x120”像素的应用程序图标,png格式
我该如何解决这个问题?
以下是苹果目前对图标的要求。
我看不到120x120出现在任何地方?这是iOS 7特有的吗?我应该添加一个icon -120.png之类的图标吗?
更新:我添加了三个图标到资源文件夹(Icon-120.png: 120x120, Icon-76.png: 76x76 & Icon-152.png: 152x152),但它没有将它们添加到info.plist。收到了同样的警告邮件。我决定不做任何改变,等着看接下来会发生什么。
令我惊讶的是,这款应用在20个小时后就进入了审查阶段,并在第二天就发布了!这不禁让我好奇,究竟有多少苹果/Windows应用测评人员潜伏在这里。
我在使用Xcode 4.6提交应用时也遇到了同样的问题。它不识别尺寸为120x120, 58x58, 29x29等的图标。所以当我试图添加这些图标到信息。plist并提交应用进行审查,Xcode 4.6不允许我这样做。在提交没有上述图标的应用程序时,我收到一封邮件说-
“您的交付是成功的,但您可能希望在下次交付时纠正以下问题:
缺少推荐的图标文件-捆绑包不包含iPhone / iPod Touch的应用程序图标,精确的“120x120”像素,png格式。
因为是推荐的,没有必要,所以我还是提交了应用。我将上述推荐的图标添加到包中,但没有在Info.plist中指定它们。我又收到了同样的邮件。这一次我忽略了它,令我惊讶的是,应用程序被接受了。
我想让我的应用程序运行在iOS 5及以上,因此,我必须使用Xcode 4.6,而不是最新的Xcode 5,它只允许应用程序运行在iOS7及以上。
更新:
注:“从2014年2月1日开始,提交到app Store的新应用和应用更新必须使用Xcode 5和iOS 7 SDK构建。”
https://developer.apple.com/news/?id=12172013a#top
因此,该场景在将来将无效。
我也有同样的问题。使用Xcode 8.3.3,并希望在资产目录中使用AppIcon。尝试了所有Stack Overflow的答案都没有成功。
最后从Ken/Apple论坛了解到一个深刻的清洁步骤:
removed all icon files, whether from resources (delete - trash) or
appicon file (select - remove selected items); removed even assets
folder
deep cleaned (Use the Product menu w/option key pressed, then
choose to 'clean build folder')
added a new asset catalogue and called it "Assets" right clicked in Assets folder and added new app icon set - changed that one in inspector to be for iOS >=7 triple
checked all my icon files OUTSIDE of Xcode (all were already png
files of right resolution, but some had still colour profile attached
from photoshop elements or did have indexed colour instead of RGB
profile. so I made sure I only save a png file without colour profile
and from a background layer) - not sure that was necessary
archived the build from Product menu
validated and uploaded the build from Window - Organizer