Software Archive
Read-only legacy content
17061 토론

iOS icons are not displayed

Kancho_K_
초급자
890 조회수

Hello,

I tried several times to build iOS package for my app with customized icons, but every time when I install it on the device it does show the default Cordova icon. I have specified all the icons for the iOS build on the Launch Icons tab, but apparently it does not take any effect on the device. I am using the Cordova 3.x Hybrid Mobile build. The version of Intel XDK I am currently using is: 1621.

Any ideas of what might be going wrong on my side) ? I guess I am missing out something when preparing the package, but still wondering what....

Thanks a lot in advance!

 

Best Wishes,

Kancho

 

0 포인트
5 응답
Brandon_K_Intel
890 조회수

Would you please upgrade the XDK to the latest version and build your project again? The current version of the XDK is 1995. Let me know if you have any further issues.

0 포인트
John_H_Intel2
직원
890 조회수

What device/iOS are you installing the app on?

0 포인트
Kancho_K_
초급자
890 조회수

  Hi Brandon! Hi John!

  Thanks for the fast reply!

  I upgraded to the latest version 1995. The builds are working fine, but when I install the iOS build it is still showing the default Cordova icon. I have specified all the icons into the Launch Icons section for both Portrait and Landscape modes, but cannot get any of the icons on the device when I install the package.

 The device I am currently testing is iPod 4.1 with iOS 6.1.6

 By the way, I do not have such an issue on the  Android device when I install the apk file.

Any tips would be of a great help. Thanks a lot in advance!

 

Best Wishes,

Kancho

 

 

0 포인트
John_H_Intel2
직원
890 조회수

iOS 6 is less than 2% of iOS devices now and we do not require that those icons be submitted since Apple does not. Please see this article on how to add your iOS icons.

https://software.intel.com/en-us/xdk/docs/adding-special-build-options-to-your-xdk-cordova-app-with-the-intelxdk-config-additions-xml-file

0 포인트
Rakshith_K_Intel
890 조회수

@Kancho add this to your intexdk.config.additions.xml file:

<!-- Spotlight Icon -->
      <icon platform="ios" src="res/ios/icon-40.png" width="40" height="40" />
      <icon platform="ios" src="res/ios/icon-40@2x.png" width="80" height="80" />
      <icon platform="ios" src="res/ios/icon-40@3x.png" width="120" height="120" />
<!-- iPhone / iPod Touch -->
      <icon platform="ios" src="res/ios/icon.png" width="57" height="57" />
      <icon platform="ios" src="res/ios/icon@2x.png" width="114" height="114" />
<!-- iPad -->
      <icon platform="ios" src="res/ios/icon-72.png" width="72" height="72" />
      <icon platform="ios" src="res/ios/icon-72@2x.png" width="144" height="144" />
<!-- iPhone Spotlight and Settings Icon -->
      <icon platform="ios" src="res/ios/icon-small.png" width="29" height="29" />
      <icon platform="ios" src="res/ios/icon-small@2x.png" width="58" height="58" />
      <icon platform="ios" src="res/ios/icon-small@3x.png" width="87" height="87" />
<!-- iPad Spotlight and Settings Icon -->
      <icon platform="ios" src="res/ios/icon-50.png" width="50" height="50" />
      <icon platform="ios" src="res/ios/icon-50@2x.png" width="100" height="100" />

create icons for these sizes and set the file name and path to whatever u have in your projects. These icons will cover all the iOS old versions, the icons you add in project settings are for  iOS 7 and newer.

https://software.intel.com/en-us/xdk/docs/cordova-for-ios-build-options

0 포인트
응답