ios 缺少营销图标

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/44565883/
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-08-31 09:14:18  来源:igfitidea点击:

Missing Marketing Icon

iosxcode

提问by JOG

When trying to submit my app, iTunes Connect says

尝试提交我的应用程序时,iTunes Connect 提示

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 应用必须包含一个 1024x1024 像素的 PNG 格式营销图标。不包含营销图标的应用无法提交应用审核或 Beta 版应用审核。

I do have a 1024x1024px PNG in my submission in iTunes Connect, under General App Informationand App Icon. So I guess they want me to add it as an Asset to the bundle, in Xcode. But when I drag and drop my PNG to this Unassignedplaceholder, nothing happens.

我有我在iTunes Connect提交1024x1024像素PNG,下General App InformationApp Icon。所以我猜他们希望我在 Xcode 中将它作为资产添加到包中。但是当我将我的 PNG 拖放到这个Unassigned占位符时,没有任何反应。

Unassigned placeholder for Marketing 1024x PNG

未分配的 Marketing 1024x PNG 占位符

This error started appearing after WWDC 2017 and I installed XCode 9 Beta. This issue is occuring in Version 8.3.1 (8E1000a) too though.

这个错误在 WWDC 2017 之后开始出现,我安装了 XCode 9 Beta。不过,这个问题也出现在版本 8.3.1 (8E1000a) 中。

回答by Varinder Singh iPhone Dev

Solved by adding iOS Marketing 1024pt icon in project

通过在项目中添加 iOS Marketing 1024pt 图标解决

回答by Gaurav Singla

According to new guidelines for the XCode 9: we need to drag a new icon with size 1024pt new available icon item named "App Store iOS 1024pt" under AppIcon image set.

根据 XCode 9 的新指南:我们需要在 AppIcon 图像集下拖动一个大小为 1024pt 的新图标,名为“App Store iOS 1024pt”。

enter image description here

在此处输入图片说明

IMPORTANT: Make sure to use the icon without Alpha/Transparency

重要提示:确保使用没有 Alpha/Transparency 的图标

After doing this, the warning will be gone and you should be able to successfully submit the binary to Apple for review.

执行此操作后,警告将消失,您应该能够成功将二进制文件提交给 Apple 进行审核。

Reference link: https://help.apple.com/xcode/mac/current/#/dev4b0ebb1bb

参考链接:https: //help.apple.com/xcode/mac/current/#/dev4b0ebb1bb

回答by JeremyShaw

The issue seems to be submitting a binary that was built using a beta version of Xcode. Use a released version of Xcode when submitting builds to the App Store.

问题似乎是提交使用 Xcode 测试版构建的二进制文件。在向 App Store 提交构建时使用已发布的 Xcode 版本。

回答by ElBrm

For people that still facing problems after adding the new app icon:

对于添加新应用程序图标后仍然面临问题的人:

Make sure the 'Transparency' checkbox is unchecked when you're exporting the PNG image from Photoshop. Apparently this is an issue even if the image has no transparency.

从 Photoshop 导出 PNG 图像时,请确保未选中“透明度”复选框。显然,即使图像没有透明度,这也是一个问题。

Uncheck the transparency checkbox in Photoshop

取消选中 Photoshop 中的透明度复选框

This worked for me.

这对我有用。

Thanks to Hammoud's answer at How to solve "Missing Marketing Icon. iOS Apps must include a 1024x1024px"

感谢 Hammoud 在How to solve "Missing Marketing Icon. iOS Apps must include a 1024x1024px" 中的回答

回答by ?ukasz Kalbarczyk

In Xcode 8:
Find your iconset directory, put a prepared file (for example 'Icon-Marketing.png') here and add the following to Contents.json

在 Xcode 8 中:
找到您的图标集目录,在此处放置一个准备好的文件(例如“Icon-Marketing.png”)并将以下内容添加到 Contents.json

{
  "size" : "1024x1024",
  "idiom" : "ios-marketing",
  "filename" : "Icon-Marketing.png",
  "scale" : "1x"
}

回答by ow3n

If you are building an IOS app from Unity follow these steps:

如果您要从 Unity 构建 IOS 应用程序,请按照以下步骤操作

  1. In the Xcode project go to Unity-iPhone > Images.xcassets > AppIcon
  2. Scroll to the bottom
  3. Drag in a 1024x1024 icon
  4. Build (CMD+B), archive, upload as usual
  1. 在 Xcode 项目中,转到 Unity-iPhone > Images.xcassets > AppIcon
  2. 滚动到底部
  3. 拖入 1024x1024 图标
  4. 像往常一样构建(CMD + B),存档,上传

回答by Mustafa

The App Icon guidelines have changed with the release of new iPhons X, iOS 11, and Xcode 9.

随着新的 iPhons X、iOS 11 和 Xcode 9 的发布,应用程序图标指南发生了变化。

A new App Store icon should be added to the project in Xcode 9 of size:

应该在 Xcode 9 大小的项目中添加一个新的 App Store 图标:

1024px × 1024px (1024pt × 1024pt @1x)

1024px × 1024px (1024pt × 1024pt @1x)

Hope this helps.

希望这可以帮助。

Reference: https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/

参考:https: //developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/

Note: As of today, Technical Q&A QA1686 - App Icons on iPhone, iPad and Apple Watchhasn't been updated with this requirement.

注意:截至今天,技术问答 QA1686 - iPhone、iPad 和 Apple Watch 上的应用程序图标尚未根据此要求进行更新。

回答by Esqarrouth

I'm using beta 3 and I'm only getting a warning after uploading. I uploaded a binary for Test Flight, not release.

我使用的是 beta 3,上传后只收到警告。我上传了一个用于试飞的二进制文件,而不是发布。

Adding the marketing image in .xcassets , AppIcon fixed the warning.

在 .xcassets 中添加营销图片,AppIcon 修复了警告。

回答by tolgatasci

How to add "1024 application icon" in sys cordova?

如何在syscordova中添加“1024应用程序图标”?

edit config file:

编辑配置文件:

<icon src="res/icon/ios/icon-1024.png" width="1024" height="1024" />

command line:

命令行:

cordova prepare ios

Don't forget to actually add the file res/icon/ios/icon-1024.pngto the filesystem.

不要忘记将文件实际添加到文件res/icon/ios/icon-1024.png系统中。

回答by Anil Gupta

I was submitting an update of the iOS app to the Apple app store. I found the below error : 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

我正在向 Apple 应用商店提交 iOS 应用的更新。我发现以下错误: 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

According to new Apple guide line in xcode 9, we need to add support of "App Store iOS" icon So I added to App icon of 1024x1024pt. App is submitted to App Store.

根据 xcode 9 中新的 Apple 指南,我们需要添加对“App Store iOS”图标的支持,所以我添加了 1024x1024pt 的 App 图标。应用程序提交到应用程序商店。