This document shows how to set up your SDK development environment to deploy Cordova apps for iOS devices such as iPhone and iPad. At the end you will find a link to see more information

1 Installing the Requirements

For emulate IOS platform we are going to use Xcode.

Xcode is a complete developer toolset for creating apps for Mac, iPhone, iPad, Apple Watch, and Apple TV. Xcode brings user interface design, coding, testing, debugging, and submitting to the App Store all into a unified workflow.

The current release of Xcode is available as a free download from the Mac App Store

1.1 Deployment Tools

The ios-deploy tools allow you to launch iOS apps on an iOS Device from the command-line.

To install it, run the following from command-line terminal:

Copy
$ xcode-select --install

2 Start emulator

The following steps is how to start the emulator of IOS.

2.1 Caution

First of all, make sure you have added the IOS platform to your project. For this you can use the following command:

Copy
$ cordova platform ls

for add it:

Copy
$ cordova platform add ios

2.2 Execution

Execute this comand for compile and start the emulator:

Copy
$ cordova run ios

if you have this warning do not worry, basically it is that you have not configured a version of ios to start it. You can also go to the Xcode application and run the emulator manually as seen in the following image

Example:

3 More information

You can find more information in this link: iOS Platform Guide