Submitting iOS app to app store application identifier invalid

When I try to validate my app for submission to the app store, I get two errors…

Invalid code signing entitlements. Your application bundle’s signature contains code signing entitlements that are not supported on iOS. Speicifically value ‘K8TE8KDZ95.com.iclinical.child’ for key ‘application-identifier’ in ‘Payload/iResus.app/iResus’ is not supported. This value should be a string starting with your TEAMID, followed by a dot ‘.’ followed by the bundle identifier

I’m not sure where I should be changing this. The bundle identifier in the target is com.iclinical.child but clearly I need to change it somewhere else too…

Hope you can help.

Are you doing a simulator build or native builds?

Can you post your build.settings?

Thanks

Rob

I user simulator build, and my build.setting

—build.setting--------------------------------------------------------------

settings = { orientation = { default = "portrait", }, splashScreen = { ios = { enable = false, --image = "mySplashScreen\_iOS.png" }, android = { enable = false, --image = "mySplashScreen\_Android.png" } }, iphone = { plist = { UIAppFonts = { }, NSCalendarsUsageDescription = "Title", NSPhotoLibraryUsageDescription = "Title", NSCameraUsageDescription = "Title", CFBundleDisplayName = "Title", CFBundleIdentifier = "com.iclinical.child", CFBundleIconFile = "Icon.png", ITSAppUsesNonExemptEncryption = false, NSLocationWhenInUseUsageDescription = "string", --icon image files table 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-40.png", "Icon-Small-40@2x.png", "Icon-Small-40@3x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small@3x.png" }, --launch image files table UILaunchImages = { { -- iPhone 4 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 4 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 4 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 5 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPhone 5 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPhone 5 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPad Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Portrait", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPad LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPad LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPhone 6 Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 Plus Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-736h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{414, 736}" }, { -- iPhone 6 Plus LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-736h", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{414, 736}" }, { -- iPhone 6 Plus LandscapeRight ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-736h", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{414, 736}" }, }, UIPrerenderedIcon = true, UIStatusBarHidden = true, MinimumOSVersion = "6.0", CFBundleVersion="1.0.1", CFBundleShortVersionString="1.0", UIApplicationExitsOnSuspend = false, }, skipPNGCrush = false, }, android = { usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", }, installLocation="auto" }, plugins = { ["plugin.google.play.services"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" }, }, }

Thanks

Hoai

We do not recommend putting these in build.settings:

CFBundleDisplayName = “Title”,
CFBundleIdentifier = “com.iclinical.child”,

CFBundleVersion=“1.0.1”,

CFBundleShortVersionString=“1.0”,

The CFBundleDisplayName is set for you via the Corona Build dialog’s “Application Name” field.

The CFBundleIdentifier is pulled from the Provisioning Profile you select on the build dialog

The CFBundleVersion is computed to make sure each submission has a new, higher value that the previous submission

The CFBundleShortVersionString comes from the build dialog’s “Version” field.

By setting these in build.settings you’re making extra work for yourself and if you’re provisioning profile doesn’t match what you have for CFBundleIndetifier you will get the problem you’re having.  Let us do the work for you. As long as your profile is valid, you should be good to go.  Now you need a profile that matches the bundle Identifier as you have it setup in the developer portal and iTunes Connect.

Rob

Are you doing a simulator build or native builds?

Can you post your build.settings?

Thanks

Rob

I user simulator build, and my build.setting

—build.setting--------------------------------------------------------------

settings = { orientation = { default = "portrait", }, splashScreen = { ios = { enable = false, --image = "mySplashScreen\_iOS.png" }, android = { enable = false, --image = "mySplashScreen\_Android.png" } }, iphone = { plist = { UIAppFonts = { }, NSCalendarsUsageDescription = "Title", NSPhotoLibraryUsageDescription = "Title", NSCameraUsageDescription = "Title", CFBundleDisplayName = "Title", CFBundleIdentifier = "com.iclinical.child", CFBundleIconFile = "Icon.png", ITSAppUsesNonExemptEncryption = false, NSLocationWhenInUseUsageDescription = "string", --icon image files table 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-40.png", "Icon-Small-40@2x.png", "Icon-Small-40@3x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small@3x.png" }, --launch image files table UILaunchImages = { { -- iPhone 4 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 4 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 4 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 5 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPhone 5 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPhone 5 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPad Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Portrait", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPad LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPad LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPhone 6 Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 Plus Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-736h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{414, 736}" }, { -- iPhone 6 Plus LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-736h", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{414, 736}" }, { -- iPhone 6 Plus LandscapeRight ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-736h", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{414, 736}" }, }, UIPrerenderedIcon = true, UIStatusBarHidden = true, MinimumOSVersion = "6.0", CFBundleVersion="1.0.1", CFBundleShortVersionString="1.0", UIApplicationExitsOnSuspend = false, }, skipPNGCrush = false, }, android = { usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", }, installLocation="auto" }, plugins = { ["plugin.google.play.services"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" }, }, }

Thanks

Hoai

We do not recommend putting these in build.settings:

CFBundleDisplayName = “Title”,
CFBundleIdentifier = “com.iclinical.child”,

CFBundleVersion=“1.0.1”,

CFBundleShortVersionString=“1.0”,

The CFBundleDisplayName is set for you via the Corona Build dialog’s “Application Name” field.

The CFBundleIdentifier is pulled from the Provisioning Profile you select on the build dialog

The CFBundleVersion is computed to make sure each submission has a new, higher value that the previous submission

The CFBundleShortVersionString comes from the build dialog’s “Version” field.

By setting these in build.settings you’re making extra work for yourself and if you’re provisioning profile doesn’t match what you have for CFBundleIndetifier you will get the problem you’re having.  Let us do the work for you. As long as your profile is valid, you should be good to go.  Now you need a profile that matches the bundle Identifier as you have it setup in the developer portal and iTunes Connect.

Rob