The ios app targets ios 12 and contains multiple schemes. Since last week, I am getting the following build rejection emails from apple:
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
I have seen all related forums and tried all top voted solutions, still I still face this issue on every release.
I already tried:
- Making sure all the icons are present in the AppIcon.appiconset in Assets.xassets.
- Making sure all the entries in Contents.json in AppIcon.appiconset are listed properly.
- Updating Xcode (13.1 (13A1030d)) and cocoapods (1.11.3).
- Adding
CFBundleIconName
,CFBundleIconFiles
andCFBundleIcons~ipad
in info.plist:
<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>
where AppIcon-scheme_1, AppIcon-scheme_2 are differennt schemes with the exact same appiconset name. 5. Made sure that the icons are displayed properly in both iphone and ipad. 6. Extracted the archived ipa and made sure that the icons are present in the target build.
The subsequent releases are still rejected.