2017-10-18 243 views
0

我的科爾多瓦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

回答

2

有同樣的問題與我的iPhone,唯一的應用程序,並在這裏找到一個解決方案:

Empty app icon on iPad for iPhone only application

所以我只是刪除了「CFBundleIcons」鍵,在Xcode中的Info.plist,一切只是工作正常現在。

希望這將有助於你爲好,

史蒂夫

+0

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

相關問題