CFBundleSupportedPlatforms / Invalid Bundle error

I’m having this same error using the latest version of Corona SDK (Version 2015.2791 (2015.12.17)) and Application Loader (Version 3.4 (902)).

Apple is sending the following email: 

Invalid Bundle  - A nested bundle doesn’t have the right platforms listed in CFBundleSupportedPlatforms Info.plist key. 

My build.settings is the following: 

settings = { plugins = { ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" }, }, orientation = { default = "portrait", supported = { "portrait", "portraitUpsideDown" }, }, android = { permissions = { { name = ".permission.C2D\_MESSAGE", protectionLevel = "signature" }, }, usesPermissions = { "android.permission.ACCESS\_FINE\_LOCATION", "android.permission.ACCESS\_COARSE\_LOCATION", "android.permission.INTERNET", "android.permission.GET\_ACCOUNTS", "android.permission.RECEIVE\_BOOT\_COMPLETED", "com.google.android.c2dm.permission.RECEIVE", ".permission.C2D\_MESSAGE", }, usesFeatures = { -- If you set permissions "ACCESS\_FINE\_LOCATION" and "ACCESS\_COARSE\_LOCATION" above, -- then you may want to set up your app to not require location services as follows. -- Otherwise, devices that do not have location sevices (such as a GPS) will be unable -- to purchase this app in the app store. { name = "android.hardware.location", required = false }, { name = "android.hardware.location.gps", required = false }, { name = "android.hardware.location.network", required = false }, }, }, iphone = { plist = { CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-Small@2x.png", }, NSAppTransportSecurity = { NSAllowsArbitraryLoads = true, }, }, }, }

I haven’t been able to find a solution on this.

Hi. Same problem here.

Corona SDK 2015.2802 (2015.12.31) and Application Loader 3.5 (915)

My build.settings seems ok:

settings = { orientation = { default = "portrait", content = "portrait", supported = { "portrait" } }, iphone = { plist = { UIStatusBarHidden = false, UIPrerenderedIcon = true, -- set to false for "shine" overlay CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-60@3x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small@3x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", }, UIAppFonts = { "Roboto Lt.ttf", "Roboto.ttf", "Always In My Heart.ttf" }, }, }, android = { usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.READ\_PHONE\_STATE", "android.permission.RECEIVE\_BOOT\_COMPLETED" }, }, plugins = { ["plugin.google.play.services"] = { -- required publisherId = "com.coronalabs", }, ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.native.popup.activity"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, }, }, ["plugin.notifications"] = { publisherId = "com.coronalabs" }, }, }

Hi @pablopost90,

In my case, the problem was that I was using accents in Application Name field.

Now everything is okay!

Trick is to set the Bundle Display Name to a name with accents, but set the Application Name to a name without accents. That way, the app name will show correctly under the icon, and the app name doesn’t break iTunes Connect’s app checker robot’s Plist parser.

That’s how the uploading would still work for most apps and Corona “would hear about it” only when someone got a job making a local app (that hasn’t had its name adapted to be globally search-engine-friendly and typing-friendly which is usually the case).

Same problem here! I found out and it works now :) 

DON’T USE ACCENTS IN THE CORONA APP NAME BUILD FIELD!