Running Your iOS Application on the iOS Simulator
After you have successfully configured your development environment for iOS application development, you can run your application on the iOS simulator as follows:
- Run the Platform Assistant on the Mac.
- In RAD Studio:
- On the Project Manager, expand the Target Platforms node and double-click the iOS Simulator target platform to activate that platform. The active target platform is displayed using a bold font.
- Expand the iOS Simulator node in the Project Manager, expand the Target node, and double-click a simulator node (iPad, iPhone or iPhone 5) to activate that simulator. The active simulator is displayed using a bold font.
- Run your application, either with debugging (Run > Run) or without debugging (Run > Run Without Debugging).
RAD Studio builds your application for the iOS Simulator, connects to your Mac using the connection profile you assigned to the iOS Simulator platform. The Platform Assistant running on the Mac launches your application on the iOS Simulator.
- Note: RAD Studio might look frozen at some points until it launches your application on the 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 iOS Simulator running.