Show: Delphi C++
Display Preferences

Mobile Tutorial: Set Up Your Development Environment on Windows PC (iOS)

From RAD Studio
Jump to: navigation, search

Go Up to Mobile Tutorials: Mobile Application Development (iOS and Android)


Before starting this tutorial, you should read and perform the following tutorial session:

A FireMonkey application destined for the iOS target platform can be 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.

Note: On iOS devices, you can run both Delphi and C++ applications. However, the iOS Simulator is not supported by BCCIOSARM, so only iOS devices are supported for C++.

To deploy an iOS Application to your iOS device or iOS Simulator for debugging and testing purposes, RAD Studio uses the Platform Assistant, which you must install and run on the Mac. Your hardware and software development environment should have the configuration demonstrated in the following figure. RAD Studio runs on a Windows PC computer. Your PC computer should be connected to a Mac running the Platform Assistant and having installed the appropriate versions of Xcode and iOS SDK (for iOS development). To run iOS apps on an iOS device, the iOS device must be connected via USB cable to the Mac.

Win2Mac2iOSDevice.png

This section describes the steps to set up your development environment after you configure your environment on your Mac.

Setting Up Your RAD Studio Environment

You need to execute the following configuration steps to prepare the iOS development with RAD Studio.

Create a Connection Profile for the Mac

  1. In the RAD Studio IDE, open Tools > Options > Environment Options > Connection Profile Manager.
  2. Click Add:
    RemoteProfilesPage.png

  3. Now you see the Create a Connection Profile wizard. Define a name for the connection profile, such as "My Mac".
    Make sure you select OS X as the platform, and then click Next:
    AssignSimulatorProfile.png

  4. On the Remote machine information page, set the name or IP address of the host Mac, a port number to use (the default port 64211 typically works), and an optional password (if you want to use a password).
    Specify name of your mac.png

  5. Click Test Connection, and make sure that the connection profile succeeds with no error (you should receive the message "Connection to <hostname> on port <portnumber> succeeded").
  6. If the Test Connection succeeds, click the Finish button, otherwise check the settings and try again.

Add an SDK to the Development System for the iOS Device Connected to the Mac

  1. Open Tools > Options > Environment Options > SDK Manager:
    SDKManagerConfigs.png

  2. Click Add.
  3. On the Add a New SDK dialog box, select iOS Device - 32 bit or iOS Device - 64 bit as a platform.
    SelectSDKProfile.png

  4. After you select a platform, the IDE fills a Profile (such as "My Mac") and SDK version combo box with the list of SDK versions available on the machine where the Platform Assistant server is running:
    SelectSDKProfileAndVersion.png

  5. Click OK to add the selected SDK version.
  6. After the operation completes, click Close to close the dialog.

See Also

Personal tools
In other languages
Previous Versions
Assistance