4 Replies Latest reply on Oct 27, 2016 2:23 AM by ramonk7353483

    After Updating to Newest CLI, iOS Icons & Splash Screens No Longer Work


      I am working on updating my apps from 3.9.0 iOS to the newest version. When doing this, the app icon, and splash screen no longer loaded. I traced it down to the 4.0.1 release, and am not sure how to correct this. The documentation on the PhoneGap Build site looks the same as mine. Any help would be appreciated.


      <icon src="qa-icon.png" platform="ios" />

      <gap:splash src="screen-iphone-portrait.png" gap:platform="ios" width="320" height="480" />
      <gap:splash src="screen-iphone-portrait-2x.png" gap:platform="ios" width="640" height="960" />
      <gap:splash src="screen-iphone-portrait-568h-2x.png" gap:platform="ios" width="640" height="1136" />
      <gap:splash src="screen-ipad-portrait.png" gap:platform="ios" width="768" height="1024" />
      <gap:splash src="screen-ipad-landscape.png" gap:platform="ios" width="1024" height="768" />


      Everything is in the same folder as the config.xml.


      Thank you in advance.

        • 1. Re: After Updating to Newest CLI, iOS Icons & Splash Screens No Longer Work
          nplf9566115 Level 1

          I found in my log that the following needed to be added.


              <icon src="qa-icon-76.png" width="76" height="76" />
              <icon src="qa-icon-76@2x.png" width="152" height="152" />


              <splash src="screen-ipad-portrait-2x.png" width="1536" height="2048" />
              <splash src="screen-ipad-landscape-2x.png" width="2048" height="1536" />
          • 2. Re: After Updating to Newest CLI, iOS Icons & Splash Screens No Longer Work

            Sorry, this is happening to me. Can you elaborate? I can't solve it.


            These are mine:


            (I'm not using an ipad version)


              <platform name="ios">

              <icon src="res\icons\ios\icon.png" width="57" height="57" />

              <icon src="res\icons\ios\icon-72-2x.png" width="144" height="144" />

              <icon src="res\icons\ios\icon-72.png" width="72" height="72" />

              <icon src="res\icons\ios\icon-2x.png" width="114" height="114" />

              <icon src="res\icons\ios\icon-50-2x.png" width="100" height="100" />

              <icon src="res\icons\ios\icon-60.png" width="120" height="120" />

              <icon src="res\icons\ios\icon-60-3x.png" width="180" height="180" />

              <icon src="res\icons\ios\icon-76.png" width="76" height="76" />

              <icon src="res\icons\android\icon-72-hdpi.png" width="152" height="152" />



              <splash src="res\screens\ios\screen-iphone-portrait-736h.png" width="1242" height="2208" />

              <splash src="res\screens\ios\screen-iphone-portrait-667h.png" width="750" height="1334" />

              <splash src="res\screens\ios\screen-iphone-portrait-568h-2x.png" width="640" height="1136" />

              <splash src="res\screens\ios\screen-iphone-portrait-2x.png" width="640" height="960" />

              <splash src="res\screens\ios\screen-iphone-portrait.png" width="320" height="480" />






              <platform name="android">

              <icon src="res\icons\android\icon-36-ldpi.png" qualifier="ldpi" />

              <icon src="res\icons\android\icon-48-mdpi.png" qualifier="mdpi" />

              <icon src="res\icons\android\icon-72-hdpi.png" qualifier="hdpi" />

              <icon src="res\icons\android\icon-96-xhdpi.png" qualifier="xhdpi" />

              <icon src="res\icons\android\icon-144-xxhdpi.png" qualifier="xxhdpi" />

              <icon src="res\icons\android\icon-192-xxxhdpi.png" qualifier="xxxhdpi" />



              <splash src="res\screens\android\screen-mdpi-portrait.png" qualifier="" />

              <splash src="res\screens\android\screen-hdpi-portrait.png" qualifier="" />

              <splash src="res\screens\android\screen-xhdpi-portrait.png" qualifier="" />


            • 3. Re: After Updating to Newest CLI, iOS Icons & Splash Screens No Longer Work
              nplf9566115 Level 1

              It looks like your splash screens are incorrect. You need to add the two splash screen dimensions I have in my last post. Does the icon show up correctly for you? I also noted you need icons for Spotlight, and Settings. The best example is located at Icons and Splash | PhoneGap Docs .


              I hope that helps.