2017-10-18 15 views
0

J'ai un problème avec mon application Cordova pour iPhone seulement: Lorsque vous l'installez sur l'iPad, l'icône d'accueil n'apparaît pas mais affiche le fichier "icône manquante".Cordova Application iPhone uniquement ne pas afficher d'icône sur l'iPad

Le config.xml semble ok:

<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> 

même le fichier AppIcon semble juste.

enter image description here

Installation sur iPhone bien sûr est ok.

Des pensées?

Merci!

+0

+ Zane vous ne jamais obtenir ce situé? – gregavola

+0

non, c'est la première fois que j'ai ce problème. Même le démarrage d'un nouveau projet Cordova à partir de zéro pose le même problème. – Zane

Répondre

2

eu le même problème avec mon application iPhone seule et trouver une solution ici:

Empty app icon on iPad for iPhone only application

Je viens donc de supprimer les « CFBundleIcons » clé dans le Info.plist dans Xcode et tout fonctionne très bien à présent.

Espoir il vous aidera aussi,

Steve

+0

merci beaucoup, ça marche! – Zane