1

I am trying to build an iOS app using RadStudio XE6 and have nothing but problems trying to get the app on to iTunes connect. These are the steps I have carried out so far:-

  1. Have created an app id in developer portal making note of the ID used.
  2. Have created and downloaded a provisioning profile for the app with my iPhone registered as one of the devices.
  3. I have created the App in iTunes connect
  4. I have gone into the Project Options in RadStudio and change the provisioning so the certificate is the certificate I have created and the Mobile Provision profile is the one I have downloaded from the developer portal for this app I created in stage 1.
  5. I hit project deploy and the app compiles, links and builds an IPA file on my Mac.
  6. I then try and use application loader to send the IPA file through to iTunes connect. I get the following errors:

    ERROR ITMS-9000: Your bundle identifier cannot be changed from the current value xxxxxx. If you want to change your bundle identifier you will have to create a new application in iTunes connect

    ERROR ITMS-9000: This bundle is invalid. The application identifier element is missing. It should contain your 10-character Apple developer id, followed by a dot followed by your identifier.

    ERROR ITMS-9000: Inavlid launch image - Your app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later.

Anybody have a clue what is causing these problems and more importantly how I fix them?


UPDATE - 15th September

After following the instructions in the answer below and also the link contained within in I got a message from application loader that the file did not include a payload directory. So I changed the name of the file to a zip file and unzipped it to find the Payload folder. And sure enough application loader error is now no .app bundles found in the package.


UPDATE - 17th September

I created a new Provisioning profile and tried to build and deploy the app with that, changing the budnle id in the version info accordingly. Still the same message of No payload folder. So I then quickly created a new app in rad studio and attached the provisioning profile and bundle id in the version info and build and deployed that... After adding the images that worked.. So there is something in my existing project that is screwed. I just have to find out what...

2
  • What are the current values (written above as 'xxxxxx')? I have seen Android apps added to the store with default com.embarcadero.* IDs, because the developer forgot to change it to match their own company. By any chance could this be a similar issue that's being caught by iTunes Connect?
    – David
    Commented Sep 14, 2014 at 13:34
  • Good question but I simply changed those to hide the client URL. It shows the correct URL.
    – Dave Gill
    Commented Sep 14, 2014 at 13:57

1 Answer 1

2

In Project|Options|Version Info set:

  • CFBundleIdentifier to your app unique ID (like com.yourdomain.yourappname). It must match what you set up in the Apple provisioning information.
  • CFBundleDisplayName to the name you want to appear below your icon on the IOS device.
  • CFBundleInfoDictionaryVersion to 7.1 (you should compile against the IOS 7.1 SDK).
  • CFBundleVersion to match the version number you have set in the Apple store information.

You can read more about deployment here. You can read more about provisioning here. You can read more about what NOT to do here.

Finally, this developer seems to have had the same errors as you and tells how he fixed it.

8
  • Did all of the above and got exactly the same error messages. Will check out the link you sent.
    – Dave Gill
    Commented Sep 15, 2014 at 17:59
  • Progress of sorts.. I now get ERROR ITMS-9000:"The IPA is invalid. It does not include a payload directory". Which I have yet to research...
    – Dave Gill
    Commented Sep 15, 2014 at 18:22
  • This is possibly the single most frustrating thing. So I have an app ready to go to the store and no matter what I do it will not upload to iTunes connect. Perhaps I should have just done it in Xcode and Objective C... I am still stuck on the above error - Does not include a payload directory
    – Dave Gill
    Commented Sep 15, 2014 at 20:30
  • An IPA file is just a zip archive. Open up someone elses and check out the structure. Open up yours and see how it is different? Can you load it on the device with debug mode?
    – FMXExpress
    Commented Sep 16, 2014 at 6:50
  • 1
    I can't get my XE7 IPA to submit either but I have the infamous "ERROR ITMS-9000: "Missing Code Signing Entitlements. No entitlements found in bundle 'myAppName' for executable 'Payload/myAppName.app/myAppName'. " message. The XE6 one submitted fine.
    – FMXExpress
    Commented Sep 17, 2014 at 1:10

Not the answer you're looking for? Browse other questions tagged or ask your own question.