Deploying Your iOS Application for Submission to the App Store
Go Up to iOS Mobile Application Development
If you want to submit an iOS application to the App Store, you must build your application with a special platform configuration first, which is specific to the App Store.
Contents
Prerequisites
Before you can build a version of your iOS application that you can upload to the App Store, you must:
- Prepare your application for deployment.
- Provision your application for the Application Store platform configuration.
Generate an Application Archive File for Your Application
To generate an application archive file for your application, do the following:
- Run the Platform Assistant on the Mac.
- Build your project on RAD Studio.
- On RAD Studio, on the Projects Window:
- Expand the Build Configurations node and double-click the Release configuration, or any other build configuration that you want to use to build your signed application package.
- Expand the Target Platforms node and double-click the iOS Device - 64 bit target platform to select that platform. The selected target platform is displayed using a bold font.
- Expand the iOS Device - 64 bit node, expand the Configuration node within, and double-click the Application Store platform configuration node to select that platform configuration. The selected platform configuration is displayed using a bold font.
- Select Project > Deployment, and click the Deploy button to deploy your application.
RAD Studio builds your application using the SDK that you previously added to the IDE, connects to your Mac using the connection profile that you configured for the iOS Device - 64 bit platform, and the Platform Assistant running on the Mac prepares your application for submission to the App Store.
- Note: The first time that you use a user account on your Mac to build an iOS device application, your Mac prompts you to allow RAD Studio to sign applications using your private key. You must accept this on your Mac so that RAD Studio can deploy your application.
Your application, generated on the Mac, is then copied over to your development system. You can find your final application file (.ipa
) in the folder of your project, that is: <project folder>\iOSDevice64\<build configuration>\<project name>.ipa
.
For example: C:\Users\<user>\Documents\Embarcadero\Studio\Projects\MyProject\iOSDevice64\Release\MyProject.ipa
.
Running the Application
You cannot run the applicaton directly from RAD Studio into an iOS device when the Application Store configuration node is selected.
When you select Run > Run or Run Without Debugging, RAD Studio builds the project and deploys the application. Instead of running the application on the target device, an (.ipa) file is created. A message appears informing about the file name and location.