LiveCode LessonsHow To - LiveCode Mobile Tasks iOS TasksHow do I Submit an iOS App to the App Store?

How do I Submit an iOS App to the App Store?

This lesson describes how to submit a LiveCode application to the App Store. Screen captures are provided.

Introduction

iOS applications can be uploaded to the App Store using the Application Loader that is distributed with the iOS SDK 3.2 or later. This lesson describes how to configure LiveCode to build your application for release and use the Application Loader to load your application to the App Store.

Building your LiveCode Application

Building your LiveCode Application

Build your LiveCode application as a standalone and ensure that an Icon and a Splash Screen are provided. You also need to ensure that the Internal App ID matches the one you already set up when you were preparing your application for submission using iTunes Connect. The other settings are very much application dependent and need to be set as required.

 

Convert to .ipa

You need to convert your file to .ipa format and zip it for submission. You can do this by following these steps.

1. In LiveCode, create an iOS standalone as above. If the standalone is saved in a folder called myApp, located in your Desktop folder, you should see something like:

Desktop/myApp/myApp.app

2. Open a terminal and navigate to your Desktop folder by typing this:

cd ~/Desktop

3. From the terminal, rename the "myApp" folder to "Payload" by typing:

mv myApp Payload

5. From the terminal, zip the "Payload" folder and rename it to "application.ipa" by typing:

zip -r application.ipa Payload

6. Now you can use Application Loader to upload the "application.ipa" file.

Logging into the Application Loader

Logging into the Application Loader

If you are using iOS SDK 3.2 or later, then you can run the Application Loader from /Developer/Applications/Utilities/Application Loader.app. You need your iTunes Connect login information to proceed with the Application Loader.

Choosing Your Application

Choosing Your Application

Once you successfully logged into the Application Loader, you can choose the application you prepared for upload.

Note: The Waiting For Upload has to be set in iTunes Connect before you can upload an application.

Verifying the Application Information

Verifying the Application Information

If you were able to select the relevant application from the Application Loader drop-down menu, then you are presented with a summary of the application information. If the information is correct, then continue with Choose....

Adding the Application

Adding the Application

The next screen prompts you for the location of the application .zip file you created with LiveCode. Select the file and press Send. The Application Loader performs some initial test on the file you are uploading and proceeds to upload it if no initial problems are identified. The screen display changes a number of times to indicate at what stage of the assessment and upload the Application Loader is.

Upload Confirmation

Upload Confirmation

Once the upload is successful you are prompted with a window, similar to the one shown here. Select Next.

Completing the Upload

Completing the Upload

If your upload completed successfully, you are presented with the final Application Loader window.

7 Comments

Mike

LiveCode does not create a .zip file as mentioned above. You must first compress the standalone created by LiveCode using the File->Compress menu option in the Finder. You cannot use any other compression program, such as Stuffit. This drove me crazy for a good 2 days until I finally sent my problem into Apple and discovered this. If you do not use the Finder compression option to create the .zip, your submission will be rejected as a bad binary file.

Daniel Shapiro

I keep getting an error:

Application failed code sign verification. The sig was invalid, contains disallowed entitlements, or it was not signed with an iPHone Distribution Certificate.

Seems quite a few people are having this issue. Any help on this?

Hanson Schmidt-Cornelius

Hi Daniel,

there could be a number of reasons for this, but my first guess would be that the wrong Profile is selected in the Standalone Application Settings. Ensure that you have selected the Distribution Certificate that matches the application you are building for release.

Also have a look at this lesson to find out how to set up a Distribution Profile for app distribution:

http://lessons.runrev.com/s/lessons/m/4069/l/32957

Kind Regards,

Hanson

mori

thanks Hanson

1. Where do I mention i don't want glossy in my icon - in ITC it is glossy although i didn't say (but also didn’t say otherwise since I don’t know where_

2. There is a different between the name I want in the app store and the name I want on the device screen below the icon (after download the app)- so, where do I state that name?

Thanks a lot for the guides!!!! Really helpful

Hanson Schmidt-Cornelius

Hi Mori,

you can turn the reflective shine off by selecting the "Prerendered Icon" tick box in the Standalone Application Settings for the iOS app you wish to submit.

Use the "Display Name" in the Standalone Application Settings to set the name that appears with the icon.

The name in the App Store is probably set in iTunes Connect. Try setting the "App Name".

The following lesson may help: http://lessons.runrev.com/s/lessons/m/4069/l/33065-how-do-i-set-up-an-app-for-submission-to-itunes-connect

Kind Regards,

Hanson

Allen

Hi Runrev,
Im getting an error that reads
"An error occurred uploading to the iTunes Store"
I previously got a different error saying my certificates and version numbers didnt match, so I am not sure what direction to take in debugging.
Thanks for your help!

Hanson Schmidt-Cornelius

Hi Allen,

the steps outlined here are an outline of the actions that are needed to submit an app to the app store, with focus on applications developed in LiveCode. The submission process has many stages to it and it is possible that problems are introduced at any stage.

I recommend reviewing the iOS instructions on how to submit applications to the store, as the submission process is regulated by apple. They provide more information on problems that occur and what to do about them.

You should be able to access the relevant portal by following this link: developer.apple.com/iphone‎

Kind Regards,

Hanson

Add your comment

E-Mail me when someone replies to this comment