Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

xdk is not replacing landscape splashscreen's for iOS during build

Daniel_W_5
Beginner
3,843 Views

EDIT: From experimenting all day and opening up the .ipa to look at the files, looks like XDK is failing to write my landscape images to the ios app. Still has some of the default images: https://www.dropbox.com/s/k3rs9jyjjg296xo/Screenshot%202015-09-21%2019.30.21.jpg?dl=0

I can't imagine its my code, especially because I started a totally fresh project, added splash images, built it and still saw the default cordova screen come up on my iPad. And at the same time, XDK hasnt updated since Aug 18th. So is there another option? Maybe the update this weekend that discontinued cordova cli 3.3 and 3.5 or whatever? Amazon going down? Could it be the build server itself? Thanks...

 

Hey there,

The XDK used to build iOS versions with custom splash screens, and I was able to run them on my devices and see it work correctly. Suddenly, XDK will not set landscape splash screens. The cordova splash pops up on my iPad, but the custom splash comes up on my iPhone. I have added images in the projects screen for every size and XDK makes my intelxdk.config.ios.xml look like this:

<content src="index.html"/>
<access origin="*"/>
<icon platform="ios" src="img/st_iconipadmini.png" width="76" height="76"/>
<icon platform="ios" src="img/st_iconipad.png" width="152" height="152"/>
<icon platform="ios" src="img/st_iconiphone.png" width="60" height="60"/>
<icon platform="ios" src="img/st_splashscreen_iphoneretina.png" width="120" height="120"/>
<icon platform="ios" src="img/st_iconiphone6plus.png" width="180" height="180"/>
<splash platform="ios" src="img/st_splashscreen_1334.png" width="750" height="1334" orientation="portrait"/>
<splash platform="ios" src="img/st_splashscreen_2208.png" width="1242" height="2208" orientation="portrait"/>
<splash platform="ios" src="img/st_splashscreen_1136.png" width="640" height="1136" orientation="portrait"/>
<splash platform="ios" src="img/st_splashscreen_960.png" width="640" height="960" orientation="portrait"/>
<splash platform="ios" src="img/st_splashscreen_48-.png" width="320" height="480" orientation="portrait"/>
<splash platform="ios" src="img/st_splashscreen_2008.png" width="1536" height="2008" orientation="portrait"/>
<splash platform="ios" src="img/st_splashscreen_1004.png" width="768" height="1004" orientation="portrait"/>
<splash platform="ios" src="img/st_splashscreen_iphone6plus.png" width="1334" height="750" orientation="landscape"/>
<splash platform="ios" src="img/st_splashscreen_iphone6plus2.png" width="2208" height="1242" orientation="landscape"/>
<splash platform="ios" src="img/st_splashscreen_ipadretina.png" width="2048" height="1496" orientation="landscape"/>
<splash platform="ios" src="img/TLH_splashscreen_iPad.png" width="1024" height="748" orientation="landscape"/>
<intelxdk:plugin intelxdk:name="Device" intelxdk:value="org.apache.cordova.device" intelxdk:version="0.2.13"/>
<intelxdk:plugin intelxdk:name="Cache" intelxdk:value="intel.xdk.cache"/>
<intelxdk:plugin intelxdk:name="In App Browser" intelxdk:value="org.apache.cordova.inappbrowser" intelxdk:version="0.5.4"/>
<intelxdk:plugin intelxdk:name="File" intelxdk:value="org.apache.cordova.file" intelxdk:version="1.3.2"/>
<intelxdk:plugin intelxdk:name="File Transfer" intelxdk:value="org.apache.cordova.file-transfer" intelxdk:version="0.4.8"/>
<intelxdk:plugin intelxdk:name="Device" intelxdk:value="intel.xdk.device"/>
<intelxdk:plugin intelxdk:name="SplashScreen" intelxdk:value="org.apache.cordova.splashscreen" intelxdk:version="0.3.5"/>
<preference name="ios-target" value="6"/>
<preference name="ios-configuration" value="adhoc"/>
<preference name="Orientation" value="landscape"/>
<intelxdk:provisioning intelxdk:src="TLH_Dist_wLinda.mobileprovision" intelxdk:type="adhoc"/>
<!--creationInfo:{"src":"https://appcenter.html5tools-software.intel.com/api/v2.0/redirect/projectrenderers/release-2015-ww32/jsapp/templates-blank-cordova-project/sample.zip","projectTypeName":"com.intel.xdk.projecttype.jsapp"}-->
<preference name="debuggable" value="true"/>
<preference name="Orientation" value="landscape"/>
<preference name="BackgroundColor" value="0xffefefef"/>
<preference name="iosPersistentFileLocation" value="Library"/>
<preference name="Fullscreen" value="true"/>
<preference name="DisallowOverscroll" value="true"/>
<preference name="AllowInlineMediaPlayback" value="true"/></widget>

Why won't they show up?

Also its interesting to note that the XDK is not displaying it is adding or it has a lack of splash screens in the build log... why did it just stop packaging my splashes?

Let me know if you want any more info, but ive been through the build process hundreds of times and the files, especially the xmls, look EXACTLY the same as when the custom splashscreen was working.

0 Kudos
24 Replies
Daniel_W_5
Beginner
647 Views

Adding those lines specifically into the additions.xml only added repeat lines to the compiled ios.xml (like the snippet i posted above) and still no splash images are showing up in the app or in the build logs.

Any update or information you can give me on the state of this build issue would be greatly appreciated so I can pass it on to some clients as I figure out alternative build options. Hopefully we'll all be back up soon : ]

0 Kudos
Leo_C_
Beginner
647 Views

Daniel W. wrote:

Adding those lines specifically into the additions.xml only added repeat lines to the compiled ios.xml (like the snippet i posted above) and still no splash images are showing up in the app or in the build logs.

Any update or information you can give me on the state of this build issue would be greatly appreciated so I can pass it on to some clients as I figure out alternative build options. Hopefully we'll all be back up soon : ]

Did you check the compiled .ipa content and see if those missing splash images have been converted? 

In my case, I use the exact file names specified by iOS, but I am not sure if it matters. 

0 Kudos
Leo_C_
Beginner
647 Views

Daniel W. wrote:

also here is what XDK builds my xml as:

<content src="index.html"/>
<access origin="*"/>
<icon platform="ios" src="img/ios_icons/st_iconiphone6plus.png" width="180" height="180"/>
<icon platform="ios" src="img/ios_icons/st_iconiphone.png" width="60" height="60"/>
<icon platform="ios" src="img/ios_icons/st_iconipad.png" width="152" height="152"/>
<icon platform="ios" src="img/ios_icons/st_iconipadmini.png" width="76" height="76"/>
<icon platform="ios" src="img/ios_icons/st_icon.png" width="120" height="120"/>
<splash platform="ios" src="img/ios_splash/Default-Landscape@2x~ipad.png" width="2048" height="1496" orientation="landscape"/>
<splash platform="ios" src="img/ios_splash/Default-Landscape~ipad.png" width="1024" height="748" orientation="landscape"/>
<splash platform="ios" src="img/ios_splash/Default-568h@2x~iphone.png" width="640" height="1136" orientation="portrait"/>
<splash platform="ios" src="img/ios_splash/Default-Portrait@2x~ipad.png" width="1536" height="2008" orientation="portrait"/>
<splash platform="ios" src="img/ios_splash/Default-Portrait~ipad.png" width="768" height="1004" orientation="portrait"/>
<splash platform="ios" src="img/ios_splash/Default@2x~iphone.png" width="640" height="960" orientation="portrait"/>
<splash platform="ios" src="img/ios_splash/Default~iphone.png" width="320" height="480" orientation="portrait"/>
<intelxdk:plugin intelxdk:name="Device" intelxdk:value="org.apache.cordova.device" intelxdk:version="0.2.13"/>
<intelxdk:plugin intelxdk:name="Cache" intelxdk:value="intel.xdk.cache"/>
<intelxdk:plugin intelxdk:name="In App Browser" intelxdk:value="org.apache.cordova.inappbrowser" intelxdk:version="0.5.4"/>
<intelxdk:plugin intelxdk:name="File" intelxdk:value="org.apache.cordova.file" intelxdk:version="1.3.2"/>
<intelxdk:plugin intelxdk:name="File Transfer" intelxdk:value="org.apache.cordova.file-transfer" intelxdk:version="0.4.8"/>
<intelxdk:plugin intelxdk:name="Device" intelxdk:value="intel.xdk.device"/>
<intelxdk:plugin intelxdk:name="SplashScreen" intelxdk:value="org.apache.cordova.splashscreen" intelxdk:version="0.3.5"/>
<preference name="ios-target" value="6"/>
<preference name="ios-configuration" value="adhoc"/>
<preference name="Orientation" value="landscape"/>
<intelxdk:provisioning intelxdk:src="TLH_Dist_wLinda.mobileprovision" intelxdk:type="adhoc"/>
<!--creationInfo:{"src":"https://appcenter.html5tools-software.intel.com/api/v2.0/redirect/projectrenderers/release-2015-ww32/jsapp/templates-blank-cordova-project/sample.zip","projectTypeName":"com.intel.xdk.projecttype.jsapp"}-->
<preference name="debuggable" value="false"/>
<preference name="BackgroundColor" value="0xffefefef"/>
<preference name="iosPersistentFileLocation" value="Library"/>
<preference name="Fullscreen" value="true"/>
<preference name="DisallowOverscroll" value="true"/>
<preference name="AllowInlineMediaPlayback" value="true"/>
<splash platform="ios" src="img/ios_splash/Default-Landscape@2x~ipad.png" width="2048" height="1496" orientation="landscape"/>
<splash platform="ios" src="img/ios_splash/Default-Landscape@~ipad.png" width="1024" height="748" orientation="landscape"/>
<splash platform="ios" src="img/ios_splash/Default-568h@2x~ipone.png" width="640" height="1136" orientation="portrait"/>
<splash platform="ios" src="img/ios_splash/Default-Portrait@2x~ipad.png" width="1536" height="2008" orientation="portrait"/>
<splash platform="ios" src="img/ios_splash/Default-Portrait@~ipad.png" width="768" height="1004" orientation="portrait"/>
<splash platform="ios" src="img/ios_splash/Default@2x~iphone.png" width="640" height="960" orientation="portrait"/>
<splash platform="ios" src="img/ios_splash/Default~iphone.png" width="320" height="480" orientation="portrait"/>

 

Just notice your dimensions are wrong, and you should include the full screen size:

<splash platform="ios" src="submission/SplashScreens/iOS/Default-Landscape@2x~ipad.png" width="2048" height="1536" orientation="landscape"/>

<splash platform="ios" src="submission/SplashScreens/iOS/Default-Landscape~ipad.png" width="1024" height="768" orientation="landscape"/>

<splash platform="ios" src="submission/SplashScreens/iOS/Default-Portrait@2x~ipad.png" width="1536" height="2048" orientation="portrait"/>

<splash platform="ios" src="submission/SplashScreens/iOS/Default-Portrait~ipad.png" width="768" height="1024" orientation="portrait"/>

The splash images you specified in XDK panel are not full screen size, and you should use different names to avoid collision during conversion. 

Hope that helps

 

0 Kudos
John_H_Intel2
Employee
647 Views

The issues with the iPad splash screens have been resolved. Please try building your apps again (comment out any changes you made to the additions file earlier), after you upload the changes.

0 Kudos
Reply