Simulator allows you to rapidly prototype and test builds of your app during the development process. Installed as part of the Xcode tools, Simulator runs on your Mac and behaves like a standard Mac app while simulating an iPhone, iPad, or Apple Watch environment. Think of the simulator as a preliminary testing tool to use before testing your app on an actual device.
Simulator enables you to simulate multiple iOS and watchOS devices running current and some legacy operating systems. Each combination of a simulated device and software version is considered its own simulation environment, independent of the others, with its own settings and files. These settings and files exist on every device you test within a simulation environment.
At a Glance
By simulating the operation of your app in Simulator, you can:
Find major problems in your app during design and early testing
Test your app using developer tools that are available only for Simulator
Learn about the Xcode development experience and the iOS development environment before becoming a member of the iOS Developer Program
This guide walks you through Simulator, starting with the basics of how to use it and moving on to the tools found within the simulator that can assist you in testing and debugging your apps.
Organization of This Document
Read the following chapters to learn how to use Simulator:
Getting Started in iOS Simulator, to understand the functionality of Simulator, and gain a working knowledge of the various ways to launch it
Interacting with iOS Simulator, to learn about the various ways of interacting with Simulator, including gestures and hardware manipulation
Testing and Debugging in iOS Simulator, to understand the tools available within Simulator to assist you with testing and debugging your apps
Customizing Your iOS Simulator Experience with Xcode Schemes, to learn about additional ways to customize your Simulator experience through Xcode schemes
Apple provides these related documents that you may find helpful:
To learn the basics of developing iOS apps, see Start Developing iOS Apps Today.
To learn about the basics of developing watchOS apps, see Apple Watch Programming Guide.
To learn more about how you can customize your development experience within Xcode, see Xcode Overview.
To learn about the process of testing your app on a device, submitting it to the App Store, and distributing it, see App Distribution Quick Start.