Hello everyone,
I am an experienced native developer with dozens of apps successfully submitted to the App Store over the years, now trying Corona, and I am quite impressed by it. I created my first simple app and trying to submit it to the App Store. I am quite comfortable with code signing and all those tedious things - as far as it is possible to be comfortable with them. At least, I did all that stuff many, many times but following the usual native route. Now I am trying to do it the Corona way.
Let’s say, the bundle ID of my app is com.companyname.ios.AppName. I specified it in the build.settings like so:
CFBundleIdentifier = “com.companyname.ios.AppName”
Everything worked fine, including running the app on iOS emulator and on a couple of devices with development signing, until I decided to submit the app to the App Store. I did all the necessary preparations on the iTunes Connect side, the app is “Waiting for Upload” there.
In the Corona’s Build for iOS dialog I specified Application Name as AppName, and the Application Loader produced the following error:
ERROR ITMS-9000: “Invalid Code Signing Entitlements. Your application bundle’s signature contains code signing entitlements that are not supported on iOS. Specifically, value ‘ABC123D45E.AppName’ for key ‘application-identifier’ in ‘AppName.app/AppName’ is not supported. This value should be a string starting with your TEAMID, followed by a dor’.’, followed by the bundle identifier.” at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage).
I decided that I need to provide the complete bundle ID for the Application Name and repeated the process. This time, the error message was:
ERROR ITMS-9000: “Invalid Code Signing Entitlements. Your application bundle’s signature contains code signing entitlements that are not supported on iOS. Specifically, value ‘ABC123D45E.com-companyname-ios-AppName’ for key ‘application-identifier’ in ‘com.companyname.ios.AppName.app/com.companyname.ios.AppName’ is not supported. This value should be a string starting with your TEAMID, followed by a dor’.’, followed by the bundle identifier.” at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage).
Notice the dashes replacing the dots in the bundle ID: ‘com.companyname.ios.AppName’ became ‘com-companyname-ios-AppName’. Which exactly piece of software did that? My guess is that Corona SDK did that in the process of build, but of course I might be wrong.
What am I supposed to do then to successfully submit my app? I tried to completely remove CFBundleIdentifier from build.settings but that didn’t help either.
Thank you for your attention.
Alex