【发布时间】:2022-10-14 15:50:29
【问题描述】:
ios 应用程序目标IOS 12并包含多个方案。 自上周以来,我收到了来自苹果的以下构建拒绝电子邮件:
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 中。
- 确保 AppIcon.appiconset 中 Contents.json 中的所有条目都正确列出。
- 更新 Xcode (13.1 (13A1030d)) 和 cocoapods (1.11.3)。
- 在 info.plist 中添加
CFBundleIconName、CFBundleIconFiles和CFBundleIcons~ipad:<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-scheme_1、AppIcon-scheme_2 是具有完全相同 appiconset 名称的不同方案。 5. 确保图标在 iphone 和 ipad 中都能正常显示。 6. 提取存档的 ipa 并确保图标存在于目标构建中。
随后的版本仍然被拒绝。
【问题讨论】:
标签: ios xcode app-store app-store-connect xcode13