App Store 提交显示 Xcode 11 中的应用程序图标问题

App Store submission shows app icon issues in Xcode 11

我最近无法将应用程序提交到 Appstore,它显示了 3 个错误,问题是我将所有应用程序图标都放在了 Xcode 中,正如您在我的屏幕截图中正确看到的那样,但是出现了这个错误.我已经尝试了很多小时来解决这个问题。任何人都知道出了什么问题以及如何解决?如您所见,我已将所有图标包含在我的资产文件夹中。我什至检查了尺寸,甚至删除了资产文件夹并创建了新的 .但是错误还是来了。如何解决这个问题?

Missing App Store Icon. iOS Apps must include a 1024x1024px App Store Icon in PNG format. Without providing the icon in the Asset Catalog or via iTunes Connect, apps cannot be submitted for App Review or Beta App Review

Missing Info.plist value - A value for the Info.plist key 'CFBundleIconName' is missing in the bundle 'com.abcd.iphone'. Apps built with iOS 11 or later SDK must supply app icons in an asset catalog and must also provide a value for this Info.plist key. For more information see http://help.apple.com/xcode/mac/current/#/dev10510b1f7


XCODE 资产文件夹

添加了 info.plist 屏幕截图:

确保您的资产目录实际上是应用程序目标的一部分。

确保您的构建设置指向 AppIcon 图像集。

并确保您没有包含多个 AppIcon 图像集的多个资产目录,因为构建系统不知道要使用哪一个。

您应该能够在 Finder 中打开构建的应用程序包并查看 CFBundleIcon 条目:

<key>CFBundleIcons</key>
<dict>
    <key>CFBundlePrimaryIcon</key>
    <dict>
        <key>CFBundleIconFiles</key>
        <array>
            <string>AppIcon60x60</string>
        </array>
        <key>CFBundleIconName</key>
        <string>AppIcon</string>
    </dict>
</dict>