About iOS Simulator
iOS Simulator allows you to rapidly prototype and test builds of your app during the development process. Installed as part of the Xcode tools along with the iOS SDK, iOS Simulator runs on your Mac and behaves like a standard Mac app while simulating an iPhone or iPad environment. Think of the simulator as a preliminary testing tool to use before testing your app on an actual device.
iOS Simulator enables you to simulate several iOS devices and several versions of the iOS operating system. Each simulated 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 iOS 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 iOS 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 iOS Simulator, starting with the basics of how to use it and moving on to the tools found within iOS Simulator that can assist you in testing and debugging your apps.
Organization of This Document
Read the following chapters to learn how to use iOS Simulator:
Getting Started in iOS Simulator, to understand the functionality of iOS 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 iOS Simulator, including gestures and hardware manipulation
Testing and Debugging in iOS Simulator, to understand the tools available within iOS 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 iOS 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 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.