By: Tim DelChiaro
Abstract: Learn how to configure your Mac so you can test and deploy iOS apps with C++Builder
This tutorial comes from the RAD Studio doc wiki. Clicking links in the tutorial will take you to the doc wiki site for more information.
A FireMonkey Delphi application destined for the iOS target platform is tested initially on the iOS Simulator available on the Mac. The second half of the testing process uses the iOS Device target platform and requires a test iOS device connected to the Mac.
To deploy an iOS application to the iOS Simulator on the Mac or to an iOS device, you need to install the following tools on your Mac:
As discussed, the Platform Assistant must be running on the Mac when you deploy an iOS app from your PC to either the iOS simulator or an iOS device.
The Mac OS X installer for the Platform Assistant is named RADPAServer<version>.pkg, where <version> is the RAD Studio version name such as "XE5", and it is available in two places:
C:\Program Files\Embarcadero\RAD Studio\<n.n>\PAServer\RADPAServer<version>.pkg
For further details, see Installing the Platform Assistant on a Mac.
In the Finder on the Mac, activate the .app file (RAD PAServer <version>.app) as follows:
Connection Profile password <press Enter for no password>
For more details about running the Platform Assistant, see Running the Platform Assistant on a Mac.
Xcode is the development and debug environment on the Mac, and provides the required development files for Mac OS X and iOS applications.
You can install Xcode from any of the following sources:
You have configured your Mac to run an iOS Application on the iOS Simulator.
Only Delphi applications can be run on the iOS Simulator
The following additional steps enable you to run your iOS Application on your iOS Device.
To install the necessary Xcode tools using Xcode on the Mac:
For more details, see Installing the Xcode Command Line Tools on a Mac.
Membership in one of the iOS developer programs is a requirement for building, running, debugging, and deploying applications for iOS.
You can join a developer program in either of the following ways:
For more details, see Joining an iOS Developer Program.
Applications that are deployed on the device (or on the iOS Simulator) need to be cryptographically signed before they run. The Development certificate contains information that is needed for signing the applications. Each individual (an individual developer or a team member) must have a unique development certificate, which can be used for multiple applications.
For development teams, development certificates must be requested by each team member, and these requests must be approved by a team admin.
Before a device can run user applications, it must be registered in the Apple Provisioning Portal. Devices are registered by their Unique Device ID (UDID). The UDID can be determined using Xcode, as follows:
Provisioning profiles are used for linking a developer and devices to a development team. This provisioning profile is required for running applications on an iOS device.
After your provisioning profile is created, you must install it into Xcode, as follows:
You have configured your Mac to run your iOS Application on your iOS Device.
To run your iOS Application, please see Mobile Tutorial: Set Up Your Development Environment on Windows PC (iOS) and complete the configuration of your RAD Studio IDE. (If you have configured your PC as part of running your application on the iOS Simulator, you can skip this step.)
Try new C++Builder XE5 free for 30 days. Develop for Windows, Mac and iOS!
Click to download now!
More social media choices:
C++Builder on Google+
@RADtools on Twitter
Server Response from: ETNASC03