For developers building Cordova applications for the iOS platform, Apple provides a suite of tools used to design, package and deploy iOS applications. Even though the Cordova CLI takes care of most of the process of creating, managing and testing iOS applications, there will be times where you will want to have more control over the process. Even though the CLI can launch a Cordova application in the iOS simulator, when you encounter problems with an application, and you want to know more about what’s going on, you’ll need to use the development tools that Apple provides.

In this chapter, I’ll show you how to use Xcode, Apple’s development tool for iOS development, to run and debug Cordova applications for iOS devices. I’ll also show you how to use the Safari browser to debug Cordova applications.