Why my icon is low rez on my device ?

It took me a lot of time to find out why my icon looks blurry on my iphone4 :
Icon@2x.png is not taken !
I made two different images for Icon.png and Icon@2x.png and it’s icon.png that is on my device.

My config.lua is very simple and I use

imageSuffix = { ["@2x"] = 1.8, }

My build settings is the default one :

[code]
– Supported values for orientation:
– portrait, portraitUpsideDown, landscapeLeft, landscapeRight

settings = {

orientation = {
default = “portrait”,
–supported = { “landscapeLeft”, “landscapeRight”}
},

iphone = {
plist = {
UIStatusBarHidden = true,
UIPrerenderedIcon = true, – set to false for “shine” overlay
UIApplicationExitsOnSuspend = false,
CFBundleIconFile=“Icon.png”,
CFBundleiconfiles =
{
“Icon.png”,
“Icon@2x.png”
},
}
},

–[[ For Android:

androidPermissions = {
“android.permission.INTERNET”,
},
]]–
}[/code]

Any idea ? [import]uid: 9328 topic_id: 34759 reply_id: 334759[/import]

should it not be [lua]["@2x"] = 2[/lua] as it is 2x bigger than the regular image. [import]uid: 62706 topic_id: 34759 reply_id: 138137[/import]

Icons don’t use config.lua. The use build.settings. Your build.settings should use this block of code:

 CFBundleIconFile = "Icon.png",  
 CFBundleIconFiles = {  
 "Icon.png" ,   
 "Icon@2x.png" ,   
 "Icon-72.png" ,   
 "Icon-72@2x.png",  
 "Icon-Small-50.png" ,   
 "Icon-Small-50@2x.png" ,   
 "Icon-Small.png" ,   
 "Icon-Small@2x.png"  
 },  

in the plist={} array.

These are the sizes you need:

Icon.png 57x57 (normal phones)
Icon@2x.png 114x114 (retina phones)
Icon-72.png 72x72 (ipads)
Icon-72@2x.png 144x144 (retina iPads)
Icon-Small.png 29x29 (Used for search spotlight)
Icon-Small@2x.png 58x58 (used for search spotlight on retina phones)
Icon-Small-50.png 50x50 (used for search spotlight on iPads)
Icon-Small-50@2x.png 100x100 (used for search spotlight on retina iPads) [import]uid: 199310 topic_id: 34759 reply_id: 138200[/import]

Thx ! Tha works (I had a typo, doing CFBundleiconfiles intead of CFBundleIconfiles) … [import]uid: 9328 topic_id: 34759 reply_id: 138301[/import]

should it not be [lua]["@2x"] = 2[/lua] as it is 2x bigger than the regular image. [import]uid: 62706 topic_id: 34759 reply_id: 138137[/import]

Icons don’t use config.lua. The use build.settings. Your build.settings should use this block of code:

 CFBundleIconFile = "Icon.png",  
 CFBundleIconFiles = {  
 "Icon.png" ,   
 "Icon@2x.png" ,   
 "Icon-72.png" ,   
 "Icon-72@2x.png",  
 "Icon-Small-50.png" ,   
 "Icon-Small-50@2x.png" ,   
 "Icon-Small.png" ,   
 "Icon-Small@2x.png"  
 },  

in the plist={} array.

These are the sizes you need:

Icon.png 57x57 (normal phones)
Icon@2x.png 114x114 (retina phones)
Icon-72.png 72x72 (ipads)
Icon-72@2x.png 144x144 (retina iPads)
Icon-Small.png 29x29 (Used for search spotlight)
Icon-Small@2x.png 58x58 (used for search spotlight on retina phones)
Icon-Small-50.png 50x50 (used for search spotlight on iPads)
Icon-Small-50@2x.png 100x100 (used for search spotlight on retina iPads) [import]uid: 199310 topic_id: 34759 reply_id: 138200[/import]

Thx ! Tha works (I had a typo, doing CFBundleiconfiles intead of CFBundleIconfiles) … [import]uid: 9328 topic_id: 34759 reply_id: 138301[/import]