objective-c – Apple App上传图标验证错误

objective-c – Apple App上传图标验证错误,第1张

概述我正在将一个免费的应用程序上传到Mac App Store,并且在验证过程中我一直收到此错误, The application bundle does not contain an icon in ICNS format, containing both a 512x512 and a 512x512@2x image. For further assistance, see the Apple 我正在将一个免费的应用程序上传到Mac App Store,并且在验证过程中我一直收到此错误,

The application bundle does not contain an icon in icns format,containing both a 512x512 and a 512x512@2x image. For further assistance,see the Apple Human Interface GuIDelines.

唯一的是,有文件名为icon_512x512.png和icon_512x512@2x.png,以及所有其他必要分辨率的文件.

由于Apple绝对没有帮助,我希望有人知道如何解决这个问题,或者至少要创建一个符合规格的图标.

解决方法 据我了解,如果您在Icon Composer中创建.icns,即使存在正确的512×512 @ 2x,它也将无法通过验证.使用iconutil将.icns转换回iconset,然后使用iconutil从iconset创建一个新的.icns.

例如:

resources $iconutil -c iconset icon.icnsresources $iconutil -c icns icon.iconset

关于iconutil的更多信息是here.

总结

以上是内存溢出为你收集整理的objective-c – Apple App上传图标验证错误全部内容,希望文章能够帮你解决objective-c – Apple App上传图标验证错误所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1033924.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-24
下一篇2022-05-24

发表评论

登录后才能评论

评论列表(0条)

    保存