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

From Appmethod Topics
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 Object Pascal 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.

To deploy an iOS Application to your device for debugging and testing purposes, Appmethod uses the Platform Assistant, which you must install and run on 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 Appmethod Environment

The following configuration steps accelerate the iOS development with Appmethod.

Create a Connection Profile for the Mac

  1. Open Tools > Options > Environment Options > Connection Profile Manager.
  2. Select 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).
  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"):
    Specify name of your mac.png

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. Select Add.
  3. On the Add a New SDK dialog box, select iOS Device as a platform.
  4. Select a Platform to connect (such as the "iOS Device"):
    SelectSDKProfile.png

  5. 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

    Click OK to close the dialog.

See Also