科尔多瓦iPhone专用应用程序没有在iPad上显示图标

问题描述:

我的科尔多瓦iPhone专用应用程序有这个问题: 在iPad上安装时,它不显示正确的主图标,但显示“丢失图标”文件。科尔多瓦iPhone专用应用程序没有在iPad上显示图标

config.xml文件似乎确定:

<platform name="ios"> 
    <allow-intent href="itms:*" /> 
    <allow-intent href="itms-apps:*" /> 
    <splash height="480" src="res/screen/ios/Default~iphone.png" width="320" /> 
    <splash height="960" src="res/screen/ios/[email protected]~iphone.png" width="640" /> 
    <splash height="1136" src="res/screen/ios/[email protected]~iphone.png" width="640" /> 
    <splash height="1334" src="res/screen/ios/Default-667h.png" width="750" /> 
    <splash height="2208" src="res/screen/ios/Default-736h.png" width="1242" /> 
    <splash height="1242" src="res/screen/ios/Default-Landscape-736h.png" width="2208" /> 
    <icon height="180" src="res/icons/ios/[email protected]" width="180" /> 
    <icon height="120" src="res/icons/ios/[email protected]" width="120" /> 
    <icon height="40" src="res/icons/ios/icon-40.png" width="40" /> 
    <icon height="80" src="res/icons/ios/[email protected]" width="80" /> 
    <icon height="57" src="res/icons/ios/icon.png" width="57" /> 
    <icon height="114" src="res/icons/ios/[email protected]" width="114" /> 
    <icon height="29" src="res/icons/ios/icon-small.png" width="29" /> 
    <icon height="58" src="res/icons/ios/[email protected]" width="58" /> 
    <icon height="87" src="res/icons/ios/[email protected]" width="87" /> 
    <icon height="72" src="res/icons/ios/icon-72.png" width="72" /> 
    <icon height="144" src="res/icons/ios/[email protected]" width="144" /> 
    <icon height="76" src="res/icons/ios/icon-76.png" width="76" /> 
    <icon height="152" src="res/icons/ios/[email protected]" width="152" /> 
    <icon height="167" src="res/icons/ios/[email protected]" width="167" /> 
    <icon height="50" src="res/icons/ios/icon-50.png" width="50" /> 
    <icon height="100" src="res/icons/ios/[email protected]" width="100" /> 
    <icon height="1024" width="1024" src="res/icons/ios/icon-1024.png" /> 
    <icon height="20" width="20" src="res/icons/ios/icon-20.png" /> 
    <icon height="40" width="40" src="res/icons/ios/[email protected]" /> 
    <icon height="60" width="60" src="res/icons/ios/[email protected]" /> 
</platform> 

甚至APPICON文件似乎是正确的。

enter image description here

上当然iPhone上安装它是确定。

有什么想法?

谢谢!

+0

+赞恩你有没有得到这个位于? – gregavola

+0

不,这是我第一次遇到这个问题。即使从头开始一个新的cordova项目也会出现同样的问题。 – Zane

有同样的问题与我的iPhone,唯一的应用程序,并在这里找到一个解决方案:

Empty app icon on iPad for iPhone only application

所以我只是删除了“CFBundleIcons”键,在Xcode中的Info.plist,一切只是工作正常现在。

希望这将有助于你为好,

史蒂夫

+0

非常感谢你,它的工作原理! – Zane