首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >ITMS-90893:缺少所需图标

ITMS-90893:缺少所需图标
EN

Stack Overflow用户
提问于 2022-03-18 22:21:23
回答 2查看 328关注 0票数 0

ios应用程序以ios 12为目标,包含多种方案。从上周开始,我收到了来自苹果的如下拒绝邮件:

代码语言:javascript
运行
复制
ITMS-90893: Missing required icon - The bundle does not contain an alternate app icon for iPad of exactly '167x167' pixels, in .png format for iOS versions supporting iPad Pro. To support older operating systems, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleicons

ITMS-90893: Missing required icon - The bundle does not contain an alternate app icon for iPad of exactly '152x152' pixels, in .png format for iOS versions >= 10.0. To support older operating systems, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleicons

我已经看过所有相关的论坛,尝试了所有的顶级投票解决方案,但我仍然面临这个问题的每一个版本。

我已经试过了

确保Assets.xassets.中的AppIcon.appiconset中显示所有图标的

确保properly.

  • Updating Xcode (13.1 (13A1030d))和cocoapods (1.11.3).

  • Adding CFBundleIconNameCFBundleIconFilesCFBundleIcons~ipad in info.plist:

列出Contents.json中的所有条目

代码语言:javascript
运行
复制
    <key>CFBundleIconName</key>
        <string>AppIcon-scheme_1</string>
        <string>AppIcon-scheme_2</string>
        <string>AppIcon-scheme_3</string>
    </array>
    <key>CFBundleIcons</key>
    <dict>
        <key>CFBundlePrimaryIcon</key>
        <dict>
            <key>CFBundleIconFiles</key>
            <array>
                <string>Icon-App-60x60@2x.png</string>
                <string>Icon-App-1024x1024@1x.png</string>
                <string>Icon-App-29x29@2x.png</string>
                <string>Icon-App-60x60@3x.png</string>
                <string>Icon-App-29x29@3x.png</string>
                <string>Icon-App-20x20@2x-1.png</string>
                <string>Icon-App-40x40@2x-1.png</string>
                <string>Icon-App-20x20@3x.png</string>
                <string>Icon-App-40x40@3x.png</string>
            </array>
        </dict>
        <key>CFBundleIcons~ipad</key>
        <dict>
            <key>CFBundlePrimaryIcon</key>
            <dict>
                <key>CFBundleIconFiles</key>
                <array>
                    <string>Icon-App-20x20@1x.png</string>
                    <string>Icon-App-20x20@2x.png</string>
                    <string>Icon-App-29x29@1x.png</string>
                    <string>Icon-App-29x29@2x-1.png</string>
                    <string>Icon-App-40x40@1x.png</string>
                    <string>Icon-App-40x40@2x.png</string>
                    <string>Icon-App-76x76@1x.png</string>
                    <string>Icon-App-76x76@2x.png</string>
                    <string>Icon-App-83.5x83.5@2x.png</string>
                </array>
            </dict>
        </dict>
    </dict>

其中AppIcon- name _1,AppIcon-name_2是完全相同起效名的不同方案.5.确保图标在iphone和ipad中正确显示。6.提取存档的ipa,并确保目标构建中存在图标。

随后的发行仍然被拒绝。

EN

回答 2

Stack Overflow用户

发布于 2022-10-14 07:49:43

当我与苹果公司的支持者交谈时,我找到了解决方案。

问题是项目的所有AppIcon必须包含152个和167个大小。

在我的例子中,我有13个不同的方案,其中一个方案在AppIcon资产上没有这样的大小。即使不是在归档期间选择的方案,我也必须在您的计划的所有AppIcon资产上有这个大小。

票数 1
EN

Stack Overflow用户

发布于 2022-03-22 17:09:48

在我的例子中,已使用的图标资产的Target成员身份对于Build来说是缺失的。项目导航员-媒体-AppIcon。->档案检查器-目标成员资格

这不是我的第一次发布,我确信我从来没有取消检查,但这还是解决了问题。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/71533746

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档