Bundle name appearing instead of app name on device after download from App Store.

Hey guys,

I hope someone can help me. I have successfully got my app published to the app store. It’s name appears correctly in the app store but when it is downloaded to a phone the bundle name appears under the icon rather than the app name.

Apple support have sent me info on how to change it using Xcode but that isn’t any use…

Thanks!

The name under the Icon comes from the “Application Name” field in the Corona SDK build dialog box. It is possible to override that in your build.settings (which we highly recommend against doing. Let the Corona dialog box do as much work for you as it can).

So look first at that Application Name field and make sure it’s the name you want users to see. Then look in your build.settings and see if you’re using a CFBundleName or CFBundleDisplayName entry in your settings.iphone.plist table. 

Rob

Thanks, Rob. Does this mean that rather than using build.settings to override the name I should make the bundle name the name I want my app to be? The thing is, when I create the bundle on the apple developer site, they recommend a bundle name like ‘com.blank.appname’ and the app won’t upload to itunes connect unless the bundle name I declare when I build matches the one I have associated with the app on itunes connect…

No. Bundle ID and Bundle Name are different things. Bundle ID is a com.yoursite.yourapp format value. You create it in the provisioning portal. You can specify it in build.settings, but that’s prone to error and we don’t recommend it. Let us do that work for you by getting the Bundle ID value from the provisioning profile for the app. We don’t have a field on the Build dialog box for you to enter that value. As you said the Bundle ID in the provisioning portal (which is in the provisioning profile) has to match what was setup on iTunes Connect. Let Corona manage that for you. As long as you have it in the profile, you’re good to go.

The Bundle display name is a different value. It’s a string you want your users to see and it appears under the App Icon. This value comes from the Corona build dialog’s “Application Name” field. I would **not** type the Bundle ID in here, but instead the string you want your uses to see such as “My Awesome App”.  You can override this field in build.settings using either the CFBundleName or CFBundleDisplayName (I’m not sure which is actually used), but there is no reason to do this. Just let the Corona dialog box do the work for you.

Rob

The name under the Icon comes from the “Application Name” field in the Corona SDK build dialog box. It is possible to override that in your build.settings (which we highly recommend against doing. Let the Corona dialog box do as much work for you as it can).

So look first at that Application Name field and make sure it’s the name you want users to see. Then look in your build.settings and see if you’re using a CFBundleName or CFBundleDisplayName entry in your settings.iphone.plist table. 

Rob

Thanks, Rob. Does this mean that rather than using build.settings to override the name I should make the bundle name the name I want my app to be? The thing is, when I create the bundle on the apple developer site, they recommend a bundle name like ‘com.blank.appname’ and the app won’t upload to itunes connect unless the bundle name I declare when I build matches the one I have associated with the app on itunes connect…

No. Bundle ID and Bundle Name are different things. Bundle ID is a com.yoursite.yourapp format value. You create it in the provisioning portal. You can specify it in build.settings, but that’s prone to error and we don’t recommend it. Let us do that work for you by getting the Bundle ID value from the provisioning profile for the app. We don’t have a field on the Build dialog box for you to enter that value. As you said the Bundle ID in the provisioning portal (which is in the provisioning profile) has to match what was setup on iTunes Connect. Let Corona manage that for you. As long as you have it in the profile, you’re good to go.

The Bundle display name is a different value. It’s a string you want your users to see and it appears under the App Icon. This value comes from the Corona build dialog’s “Application Name” field. I would **not** type the Bundle ID in here, but instead the string you want your uses to see such as “My Awesome App”.  You can override this field in build.settings using either the CFBundleName or CFBundleDisplayName (I’m not sure which is actually used), but there is no reason to do this. Just let the Corona dialog box do the work for you.

Rob