Deploying Your iOS Application for Ad hoc Distribution

From RAD Studio
Jump to: navigation, search

Go Up to iOS Mobile Application Development

To distribute your application ad hoc, you must build your application with a special platform configuration first, which is specific to ad hoc distribution.


Before you can build a version of your iOS application for ad hoc distribution, you must:

Generate an Application Archive File for Your Application

Project prepared for generating a bundle for ad hoc distribution

To generate an application archive file for your application, do the following:

  1. Run the Platform Assistant on the Mac.
  2. On RAD Studio, on the Projects Window:
    1. 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.
    2. Expand the Target Platforms node and double-click an iOS device target platform to select that platform. The selected target platform is displayed using a bold font.
    3. Expand the selected iOS device target platform node, expand the Configuration node within, and double-click the Ad hoc platform configuration node to select that platform configuration. The selected platform configuration is displayed using a bold font.
  3. Select Project > Deployment, and click the Deploy DMgrDeploy.png 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 you configured for the iOS Device platform, and the Platform Assistant running on the Mac prepares your application for ad hoc distribution.

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: <project folder>\<platform>\<build configuration>\<project name>.ipa. For example: C:\Users\<user>\Documents\Embarcadero\Studio\Projects\MyProject\iOSDevice64\Release\MyProject.ipa.

Install the Application on Your iOS Device

On your Mac, to install your application on your iOS device, drag the application archive file onto the Xcode, iPhone Configuration Utility, or iTunes icon in the Dock. For more information, see the Apple documentation.

Tip: You do not need to bring your application archive file from your development PC into your Mac. You can find the original copy of the application archive file in the Mac, inside the scratch directory.

See Also