My app's icon showing Corona SDK icon instead

Here’s my build.settings.  Can someone help me understand why the Corona SDK icon is showing for my app instead of the icon I loaded into my project’s folder.

Even my app is on Google Play and when it’s downloaded, the Corona SDK icon loads instead.

[lua]

settings =

{

    iphone =

    {

        plist=

        {

            UIInterfaceOrientation = “UIInterfaceOrientationLandscapeRight”,

            UISupportedInterfaceOrientations =

            {

                “UIInterfaceOrientationLandscapeRight”,

                “UIInterfaceOrientationLandscapeLeft”

            },

            CoronaUseIOS6LandscapeOnlyWorkaround = true,

            MinimumOSVersion=“4.3”,

            CFBundleDisplayName = “Jam on Phonics”,

            CFBundleName = “Jam on Phonics”,

            UIApplicationExitsOnSuspend = false,

            UIPrerenderedIcon=false,

            UIStatusBarHidden=true,

            CFBundleIconFile = “images/Icon-hdpi.png”,

            CFBundleIconFiles = 

            {

                “images/Icon-hdpi.png”,

                “images/Icon-mdpi.png”,

                “images/Icon-ldpi.png”,

                “images/Icon-xhdpi.png”,

                “images/Icon-xxhdpi.png”,

                “images/Icon-76.png”, 

                “images/Icon-76@2x.png”, 

                “images/Icon-72@2x.png”, 

                “images/Icon-72.png”, 

                “images/Icon-Small-50.png”,

                “images/Icon-Small-50@2x.png”, 

                “images/Icon-Small.png”, 

                “images/Icon-Small@2x.png”,

            },

            

            

        },

    },

    

    orientation =

    {

        default = “landscapeRight”,

        supported = { “landscapeRight”, “landscapeLeft” },

    },

    android =

    {

       usesExpansionFile = true,

       usesPermissions =

       {

          “android.permission.INTERNET”,

          “com.android.vending.CHECK_LICENSE”,

          “com.android.vending.BILLING”,

          “android.permission.WRITE_EXTERNAL_STORAGE”

       },

    }

}

[/lua]

Yes, all my icons are in the project folder inside another folder called “images”

Yes, they’re all the correct sizes.

What would be nice if you guys update this page to mention “Do not place your icons in a subfolder as this will cause the Corona SDK icon to show in place of your icon.”

I’ve removed all my icons from the “images” folder and placed them in the project folder with other .lua files and now my icon is showing up.  Oh, yeah, changed the build.settings by removing the “images” folder from the path.

The docs state:   These files should be included in the project’s base directory.

Perhaps we should change that to “must” instead of “should”.

Rob

Or maybe that information could be placed under the heading

ANDROID

instead of under the heading iOS.

With iOS you can put icons in a subfolder (at least it worked for me in a subfolder called “images”).  With Android you cannot.  So placing this information with “Should” or “must” under the heading Android makes a great deal more sense then placing it under iOS.

Hi @rshanlon,

We appreciate the clarification, but I’m going to continue recommending that all icon files be kept in the base directory. This ensures that they’re located properly by the build system and in the compiled project, and if Apple/Google changes anything regarding this, we don’t want developers to be caught by surprise if they’re trying to nest them in subfolders.

Thanks,

Brent

I concur with Brent.  While Apple might let you put them in a folder, it’s best to keep them in your main project folder.

Rob

Thanks, guys, for the clarification.  Good to know.  I’ll make the adjustment to my iOS version.

What would be nice if you guys update this page to mention “Do not place your icons in a subfolder as this will cause the Corona SDK icon to show in place of your icon.”

I’ve removed all my icons from the “images” folder and placed them in the project folder with other .lua files and now my icon is showing up.  Oh, yeah, changed the build.settings by removing the “images” folder from the path.

The docs state:   These files should be included in the project’s base directory.

Perhaps we should change that to “must” instead of “should”.

Rob

Or maybe that information could be placed under the heading

ANDROID

instead of under the heading iOS.

With iOS you can put icons in a subfolder (at least it worked for me in a subfolder called “images”).  With Android you cannot.  So placing this information with “Should” or “must” under the heading Android makes a great deal more sense then placing it under iOS.

Hi @rshanlon,

We appreciate the clarification, but I’m going to continue recommending that all icon files be kept in the base directory. This ensures that they’re located properly by the build system and in the compiled project, and if Apple/Google changes anything regarding this, we don’t want developers to be caught by surprise if they’re trying to nest them in subfolders.

Thanks,

Brent

I concur with Brent.  While Apple might let you put them in a folder, it’s best to keep them in your main project folder.

Rob

Thanks, guys, for the clarification.  Good to know.  I’ll make the adjustment to my iOS version.