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 on the iOS Device target platform and requires a test iOS device connected to the Mac.

To deploy an iOS Application to your iOS device 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 > Deployment > Connection Profile Manager.
  2. Click Add:
    Connection Profile Manager Screenshot.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 macOS as the platform, and then click Next:
    Createaconnectionprofile.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).
    Remote machine information.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 > Deployment > SDK Manager:
    Add sdk.png

  2. Click Add.
  3. On the Add a New SDK dialog box, select iOS Device - 64 bit as a platform.
    Add new SDK.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:
    SDK profile selection.png

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

See Also