简体   繁体   English

iOS:空中安装-视网膜iPad上的黑色下载图标

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

I've setup over-the-air distribution for our iOS enterprise App. 我已经为我们的iOS企业应用程序设置了无线分发。 It works, but during the download, the app icon displays black on iPad3 while on iPad1 the proper icon is shown. 它可以工作,但是在下载过程中,应用程序图标在iPad3上显示为黑色,而在iPad1上显示正确的图标。

I uploaded two icons, one in 57x57 pixels and one in 512x512 pixels. 我上传了两个图标,一个是57x57像素,另一个是512x512像素。

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: 可能我也需要提供视网膜图标-但我看不到如何将它们添加到manifest.plist,因为此文件仅包含两个图标条目:

           <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? 如果是这样,“种类”键的价值是什么?

Yes, seems like the retina 114x114 icon is missing. 是的,好像缺少视网膜114x114图标。 You can try to set in the project directly under Targets -> Summary -> App Icons. 您可以尝试直接在项目中的“目标”->“摘要”->“应用程序图标”下进行设置。 Afterwards you have to create the ipa again. 之后,您必须再次创建ipa。

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 . 稍微钻研一下,似乎字符串full-size-imagedisplay-image是在System/Library/PrivateFrameworks/iTunesStore.framework/Support/itunesstored And there're no other -image strings of interest. 而且没有其他感兴趣的-image字符串。

Going on that, I'd guess you need to put two images onto your sever 继续,我猜你需要把两个图像放到服务器上

but leave your XML file as-is. 但请保持XML文件不变。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM