iOS: Over-The-Air installation - black download icon on retina iPad

隐身守侯 提交于 2019-12-06 15:00:14

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!