Missing required icon file. The bundle does not contain an app icon for iPad of exactly '167x167' pixels, in .png format when trying to upload app
I've had this particular problem in the last couple of days.
The iPad icon didn't show within the Info.plist
and kept giving the warning you're getting right now.
My fix was to manually add the icon [email protected]
to the resources folder ( as Prashant pointed out ) and add this to the Info.plist
:
<key>CFBundleIconFiles</key>
<array>
<string>Icon-40.png</string>
<string>[email protected]</string>
<string>[email protected]</string>
<string>[email protected]</string>
<string>[email protected]</string>
<string>Icon-76.png</string>
<string>[email protected]</string>
<string>[email protected]</string>
<string>Icon-Small-40.png</string>
<string>[email protected]</string>
<string>Icon-Small.png</string>
<string>[email protected]</string>
<string>[email protected]</string>
</array>
I used to work with Asset Catalog
but I couldn't get it to work with the iPad Pro
icon.
For the forum post Andres mentioned in the comments:
Rename the 167x167 icon file to [email protected]
, place it in the Resources folder, and make sure it has a build action of BundleResource
.
See https://developer.xamarin.com/guides/ios/application_fundamentals/working_with_resources/ for information about setting BundleResource
option.