Found the problem.! The Contents.json of the “LaunchImage.launchimage” is not changed after changing the splashSizes:Array variable (some variables or templates needs to be adapted). A Quick workaround is to do the following:
In the haxelib folder (default: /usr/local/lib/haxe/lib/) edit the file ./lime/[version]/lime/tools/platforms/IOSPlatform.hx … Change the splashSizes array to:
var splashSizes:Array<SplashSize> = [
{ name: "Default.png", w: 320, h: 480 }, // iPhone, portrait
{ name: "[email protected]", w: 640, h: 960 }, // iPhone Retina, portrait
{ name: "[email protected]", w: 640, h: 960 }, // iPhone Retina, portrait
{ name: "[email protected]", w: 640, h: 1136 }, // iPhone 5, portrait
{ name: "Default-Portrait.png", w: 768, h: 1024 }, // iPad, portrait
{ name: "Default-Landscape.png", w: 1024, h: 768 }, // iPad, landscape
{ name: "[email protected]", w: 1536, h: 2048 }, // iPad Retina, portrait
{ name: "[email protected]", w: 2048, h: 1536 }, // iPad Retina, landscape
{ name: "[email protected]", w: 750, h: 1334 }, // iPhone 6, portrait
{ name: "[email protected]", w: 1242, h: 2208 }, // iPhone 6 Plus, portrait
{ name: "Default-Landscape.png", w: 1024, h: 768 }, // iPad, landscape
{ name: "[email protected]", w: 2048, h: 1536 }, // iPad Retina, landscape
{ name: "[email protected]", w: 1136, h: 640 }, // iPhone 5, landscape
{ name: "[email protected]", w: 1334, h: 750 }, // iPhone 6, landscape
{ name: "[email protected]", w: 2208, h: 1242 }, // iPhone 6 Plus, landscape
{ name: "Default-Portrait.png", w: 768, h: 1024 }, // iPad, portrait
{ name: "[email protected]", w: 1536, h: 2048 }, // iPad Retina, portrait
{ name: "[email protected]", w: 1125, h: 2436 }, // iPhone X, portrait
{ name: "[email protected]", w: 2436, h: 1125 } // iPhone X, landscape
];
-
afterwards run haxelib run lime rebuild tools
the enforce the changes. .
-
Then delete the export directory from your project.
-
rebuild your project.
-
add the following values to the json array in: /Export/ios/[ProjectName]/Images.xcassets/LaunchImage.launchimage/Contents.json
{
"images" : [
{
"orientation" : "portrait",
"idiom" : "iphone",
"extent" : "full-screen",
"minimum-system-version" : "11.0",
"filename" : "[email protected]",
"subtype" : "2436h",
"scale" : "3x"
},
{
"orientation" : "landscape",
"idiom" : "iphone",
"extent" : "full-screen",
"filename" : "[email protected]",
"minimum-system-version" : "11.0",
"subtype" : "2436h",
"scale" : "3x"
},
/* ..... */
Next time you build from xcode the problem is solved. Hopefully the source gets updated to this in the near future!