Running Your iOS Application on an iOS Simulator

From RAD Studio
Jump to: navigation, search

Go Up to iOS Mobile Application Development


After you have successfully configured your development environment for iOS application development, you can run your Delphi iOS application on an iOS simulator as follows:

  1. Run the Platform Assistant on the Mac.
  2. In RAD Studio:
    1. On the Projects Window, expand the Target Platforms node and double-click the iOS Simulator ARM 64-bit target platform to activate that platform. The active target platform is displayed using a bold font.
    2. Expand the iOS Simulator ARM 64-bit node in the Project Manager, expand the Target node, and double-click a simulator node to activate that simulator. The active simulator is displayed using a bold font.
    3. Run your application, either with debugging (Run > Run) or without debugging (Run > Run Without Debugging).

RAD Studio connects to your Mac using the connection profile you assigned to the iOS Simulator ARM 64-bit platform. The Platform Assistant running on the Mac launches your application on the active iOS simulator.

Note: RAD Studio might look frozen at some points until it launches your application on the active iOS simulator, but it is just preparing to run your application.

The following message is displayed on the development system:

  Compilation complete. Please switch to the machine/device specified in the profile 'profile-name'.

Go to your Mac, where you should see the active iOS simulator running.

Note: C++Builder does not support running iOS applications on iOS simulators, but it does support running them on iOS devices.
Note: Delphi does not support running iOS applications on Intel iOS simulators, but it does support running them on ARM iOS simulators and iOS devices.

See Also