问题
I've setup over-the-air distribution for our iOS enterprise App. It works, but during the download, the app icon displays black on iPad3 while on iPad1 the proper icon is shown.
I uploaded two icons, one in 57x57 pixels and one in 512x512 pixels.
Probably I need to provide retina icons too - but I do not see how to add them to the manifest.plist, as this file contains only two icon entries:
<dict>
<key>kind</key>
<string>display-image</string>
<key>needs-shine</key>
<true/>
<key>url</key>
<string>http://myserver.com/image.57x57.png</string>
</dict>
<dict>
<key>kind</key>
<string>full-size-image</string>
<key>needs-shine</key>
<true/>
<key>url</key>
<string>http://myserver.com/image.512x512.png</string>
</dict>
do I need to add retina entries? if so, what's the value for the 'kind' key?
回答1:
Yes, seems like the retina 114x114 icon is missing. You can try to set in the project directly under Targets -> Summary -> App Icons. Afterwards you have to create the ipa again.
回答2:
Digging around a bit, it seems like the strings full-size-image
and display-image
are defined in
System/Library/PrivateFrameworks/iTunesStore.framework/Support/itunesstored
. And there're no other -image
strings of interest.
Going on that, I'd guess you need to put two images onto your sever
- http://example.com/image.57x57.png
- http://example.com/image.57x57@2x.png
but leave your XML file as-is.
来源:https://stackoverflow.com/questions/13236395/ios-over-the-air-installation-black-download-icon-on-retina-ipad