- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I followed your instructions here on how to update spotlight search. this is for a construct game
ive added the following lines to my additions xml
<platform name="ios">
<!-- iOS 7.0+ -->
<!-- iPhone / iPod Touch -->
<icon src="icon-60.png" width="60" height="60" />
<icon src="icon120.png" width="120" height="120" />
<!-- iPad -->
<icon src="icon76.png" width="76" height="76" />
<icon src="icon152.png" width="152" height="152" />
</platform>
the icons are in the root directory of the construct export
What am i doing wrong ?
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The additions file needs to be named intelxdk.config.additions.xml
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi John, thats the name i used for my file
the icons are at the root where the file is.
other then that i dont know why it stuill shows the default cordova icon.
Alon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for reporting, we are looking into this issue.
The correct way to spotlight and settings icons in additions xml are as follows, the main icons for iphone and ipad should be added from build settings UI:
<icon platform="ios" src="ios/Icon-40.png" width="40" height="40" /> <icon platform="ios" src="ios/Icon-40@2x.png" width="80" height="80" /> <icon platform="ios" src="ios/Icon-40@3x.png" width="120" height="120" /> <icon platform="ios" src="ios/Icon-Small.png" width="29" height="29" /> <icon platform="ios" src="ios/Icon-Small@2x.png" width="58" height="58" /> <icon platform="ios" src="ios/Icon-Small@3x.png" width="87" height="87" />
The spotlight icon are not updated currently, we are looking in to this now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI Rakshith
I followed the instructions here : https://software.intel.com/en-us/xdk/docs/cordova-for-ios-build-option
there is another article with other instructions q19
https://software.intel.com/en-us/xdk/faqs/general
I guess that icon sizes in my file are not right
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://software.intel.com/en-us/xdk/docs/cordova-for-ios-build-options
The instruction in above doc is correct, the faq has to be updated.
However, we just found an issue, the icons for spotlight are not applied in the build, we are working on a fix.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rakshith,
We have an app ready for market only with this issue unresolved and relied on xdk to publsih for us. I saw that there is a new build for the XDK without this being addressed.
We can't upload the app with the cordova icons , its just not professional on our end. Any time estimate for this? Maybe a workaround ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can u check now again with these added to additions file:
<icon platform="ios" src="ios/Icon-40.png" width="40" height="40" /> <icon platform="ios" src="ios/Icon-40@2x.png" width="80" height="80" /> <icon platform="ios" src="ios/Icon-40@3x.png" width="120" height="120" /> <icon platform="ios" src="ios/Icon-Small.png" width="29" height="29" /> <icon platform="ios" src="ios/Icon-Small@2x.png" width="58" height="58" /> <icon platform="ios" src="ios/Icon-Small@3x.png" width="87" height="87" />
delete the existing app on ios device and install the new build on device, spotlight icon should work now, I just tried, it works in spotlight
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Rakshith,
Isnt it exactly the same file as you post in message # 4? What was changed ?
Do i need to locate the icons under ios folder and use the exact names ? i.e "Icon-Small@3x.png"
i used these files with diferent names and located on root but it didnt work
. i.e <
icon
platform
=
"ios"
src
=
"icon87.png"
width
=
"87"
height
=
"87"
/>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
nothing has changed, your declaration is correct, just delete the app on device and reinstall.
make sure that after you build, u are see the <icon ..> tags in the ios config xml file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, so do i need to use the same icon names in the xml or i can renamed their location and names inside the xml ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
unfortuntely that doest work
while i used exactly the same file name and location and got no build error. ipad still shows the cordova icon in the spotlight search
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
log file shows some errors in regards to uploading the files which are not related to what i have in the additions file.
Copying icon from .../shapes1/icon-60.png to .../shapes1/platforms/ios/shapes1/Resources/icons/icon-60.png cp: no such file or directory: .../shapes1/icon-60.png Copying icon from .../shapes1/icon120.png to .../shapes1/platforms/ios/shapes1/Resources/icons/icon-60@2x.png cp: no such file or directory: .../shapes1/icon120.png Copying icon from .../shapes1/icon-180.png to .../shapes1/platforms/ios/shapes1/Resources/icons/icon-60@3x.png cp: no such file or directory: .../shapes1/icon-180.png Copying icon from .../shapes1/icon76.png to .../shapes1/platforms/ios/shapes1/Resources/icons/icon-76.png cp: no such file or directory: .../shapes1/icon76.png Copying icon from .../shapes1/icon152.png to .../shapes1/platforms/ios/shapes1/Resources/icons/icon-76@2x.png cp: no such file or directory: .../shapes1/icon152.png Copying icon from .../shapes1/ios/Icon-40.png to .../shapes1/platforms/ios/shapes1/Resources/icons/icon-40.png cp: no such file or directory: .../shapes1/ios/Icon-40.png Copying icon from .../shapes1/ios/Icon-40@2x.png to .../shapes1/platforms/ios/shapes1/Resources/icons/icon-40@2x.png cp: no such file or directory: .../shapes1/ios/Icon-40@2x.png Copying splash from .../shapes1/splash_iphone_r.png to .../shapes1/platforms/ios/shapes1/Resources/splash/Default-Landscape-736h.png cp: no such file or directory: .../shapes1/splash_iphone_r.png
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
looks like the path for the icons are incorrectly defined in the xml file, you can have any name, the path for icon files should be relative to the folder where you have index.html.
if your project structure is like this:
- www/index.html
- www/ios/icon-40.png
then your icon should be defined like this
<icon platform="ios" src="ios/icon-40.png" width="40" height="40" />
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
just sent you a PM, send me link to download your project, I can try and let you know whats going on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks,
I am going away for a few days without my computer. i will send it to you in a few days. Many thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
've sent you a PM :)
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got your code and opened in Intel XDK v1995, changed to my provision profile and built ios, installed on my iPhone6, app icon and spotlight icons are working, see attached images.
http://s16.postimg.org/k6jjzh3vp/Screen_Shot_2015_05_14_at_11_07_43_AM.png
http://s28.postimg.org/w5cjpfjr1/image2_1.png
http://s12.postimg.org/5uycnz9hp/image1_4.png
For older iphone and ipad and older ios versions, you have to add 5 more icons in 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 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" />

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page