xCode 5 中需要 iTunesArtwork png 文件吗?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/19801652/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 04:15:32  来源:igfitidea点击:

iTunesArtwork png files needed in xCode 5?

iosxcodexcode5itunesartworkxcasset

提问by SAHM

In xCode 5 we have the ability to use the xcassets file to catalogue our app images. It appears that there is not a place for iTunesArtwork and iTunesArtwork2x files. Does this mean that these files are no longer needed in xCode 5? If they are needed, should we list them in the plist file? I had removed the icons list in the plist file and was hoping not to have to add it back again.

在 xCode 5 中,我们可以使用 xcassets 文件对我们的应用程序图像进行编目。似乎没有 iTunesArtwork 和 iTunesArtwork2x 文件的位置。这是否意味着 xCode 5 不再需要这些文件?如果需要它们,我们是否应该在 plist 文件中列出它们?我已经删除了 plist 文件中的图标列表,希望不必再次添加它。

回答by Ponchotg

Some time ago you were supposed to include your icon in large format 512x512 and 1024x1024 in your bundle when submitting an app to the AppStore, But after some changes in Xcode and iTunesConnect this is no longer necessary, you upload these two files directly to iTunes Connect and are not required in your bundle anymore.

前段时间,您应该在将应用程序提交到 AppStore 时将大格式 512x512 和 1024x1024 的图标包含在您的捆绑包中,但是在 Xcode 和 iTunesConnect 中进行了一些更改后,这不再需要,您将这两个文件直接上传到 iTunes Connect并且不再需要在您的捆绑包中。

回答by JosephH

The iTunesArtwork file is still used in AdHoc (and enterprise) distribution according to the official Apple documentation:

根据 Apple 官方文档,iTunesArtwork 文件仍在 AdHoc(和企业)分发中使用:

https://developer.apple.com/library/content/qa/qa1686/_index.html

https://developer.apple.com/library/content/qa/qa1686/_index.html

It is (as Ponchotg says) not necessary for appstore builds.

它(如 Ponchotg 所说)对于应用商店构建来说不是必需的。

回答by AshMan

Go to

Your xcode Project > Resources > App Icons

你的 xcode 项目 > 资源 > 应用程序图标

Rename following images
1. iTunesArtwork.png to iTunesArtwork 
2. [email protected] to iTunesArtwork@2x