Image splash ipad don't find, He use default splash cordova

Hello for a reason x,

I manually added the following images for ipad & co

I added his 7 pictures

In the resources / ios / splash folder

Default-Landscape ~ ipad.png
Default-Portrait ~ ipad.png

And also in the config.xml file

    <splash src="resources/ios/splash/Default-Landscape-736h.png" width="2208" height="1242"/>
    <splash src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" height="1536"/>
    <splash src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" height="2048"/>
    <splash src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" height="768"/>
    <splash src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" height="2048"/>
    <splash src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" height="2732"/>
    <splash src="resources/ios/splash/Default-Portrait~ipad.png" width="768" height="1024"/>

But when I buid for ios and

When I open xcode and I run on iphone it works,

But when I run on ipad I can not find my splash
Ipad launches the default image of cordova … this one

How could I solve this problem?

Thank you

you don’t have to set images manually…Copy image in resources folder and rename it with splash but remember extension should be .png (size will be 2732 * 2732 for splash)
after that run following commands

ionic resources android --force
ionic resources ios --force

after completing this check resources/android/splash and resources/android/splash


I can not operate ionic I can only run ionic cordova


But when I do that it asks me to connect
To my ionic account

I do but I have a mistake and so there is nothing that happens

Here is the history …

MacBook-Pro-de-MyMac-2:~ MyMac$ cd /Users/MyMac/Documents/ionic/SuperApp
MacBook-Pro-de-MyMac-2:SuperApp MyMac$ sudo ionic cordova resources ios -f
? The Ionic CLI has an update available (3.3.0 => 3.7.0)! Would you like to inst
all it? No
[OK] Not automatically updating your CLI. You can update manually:
     npm install -g ionic@latest
✔ Collecting resource configuration and source images - done!
✔ Filtering out image resources that do not need regeneration - done!
✔ Uploading source images to prepare for transformations - done!
[WARN] Error occurred during command execution from a CLI plugin (@ionic/cli-plugin-cordova). Your plugins may be out of date.
✖ Generating platform resources: 1 / 26 complete - failed!
Error: encountered bad status code (400) for
body: {"Error":"source image 640x1136 too small for Default-736h.png, requires at least 1242x2208 source file"}

MacBook-Pro-de-MyMac-2:SuperApp MyMac$


ohh here your ionic platform is updated and your project is creataed in old version so this is occurring
3.7.0. version is latest

If you dont want to update your app(SuperApp) then you have to install oldest version
First check nodejs version and ionic version
if it is latest then uninstall it and install oldest version

The problem comes from the file splash.psd it was not in the right format

I could automatically generate the splash icon for ios and android

But on my ipad I always have default image of cordova
it’s normal?

When I make the commands for the resource it updates the config.xml file?


thank you

it’s OK
Everything works fine
thank you :slight_smile:

How it is solved?please upload solution

First I put the splash.psd file to the largest format
Then delete the contents of the resource folder

Except icon.psd, splash.psd

I also edit and delete the icon and splash information in the config.xml file

Then restart the commands

sudo ionic cordova resources ios -f
sudo ionic cordova resources android -f

And it works


The file you were using back then was just too small.

Now you are using the correct template and have the correct size. Congratulations!