
Simulator is a great tool for rapid prototyping and development of your app allowing you to see the results of changes quickly, debug errors, and run tests. It is also important to test your app on physical devices as there are hardware and API differences between a simulated device and a physical one. In addition to those differences, Simulator is an app running on a Mac and has access to the computer’s resources, including the CPU, memory, and network connection. These resources are likely to be very different in capacity and speed than those found on a mobile device requiring tests of performance, memory usage, and networking speed to be run on physical devices.
Use the differences between Simulator and physical devices to help you determine what features and functionality to test in Simulator and what to test on physical devices.
Performance testing for processing, graphics, and networking must be done on physical devices for accurate results.
Simulator is an app running on a Mac using the computer’s resources including the CPU, memory, and network connection. As a result, the simulator is not an accurate test of an app’s performance, memory usage, and networking speed. Performance testing results in Simulator can be used only for relative differences in app functionality.
User testing should be done on physical devices when real world results are required.
User interaction with a pointer and keyboard is different from using fingers on iOS and watchOS, or from the focus based model used on tvOS.
The resolution, or pixels per point, on the device and on the Mac can differ. This results in text and images that appear jagged, especially with smaller text.
Increasing the scale of the simulator window can make text and images appear clearer.
The color gamut of the Mac screen can differ resulting in inaccurate colors.
Simulator suspends background apps and processes on iOS 11 and later, tvOS 11 and later, and watchOS 4 and later, however the suspended process can be resumed by the debugger.
Simulator treats the filesystem as case-sensitive on HFS+ and APFS formatted volumes.
There is a reliable connection between simulated watchOS and iOS devices because they are both running in the Simulator.
The following hardware is not supported in Simulator:
Ambient light sensor
Audio input, except for using Siri by choosing Hardware > Siri.
Barometer
Bluetooth
Camera
Motion support (accelerometer and gyroscope)
Proximity sensor
The following frameworks are not supported in Simulator:
ARKit
External Accessory
HomeKit
IOSurface
Media Player
Message UI
The following features of APIs are not available in Simulator:
Receiving and sending Apple push notifications.
The UIBackgroundModes key.
The UIVideoEditorController class in UIKit.
Support for Handoff.
The Metal, MetalKit, and Metal Performance Shaders frameworks are provided only as stubs. Calls to functions in these frameworks have no effect.
Simulator includes a Metal implementation that you can use to start developing your app. For more information on how it differs from a hardware processor, go to Using Metal with Simulator.
Simulator includes complete implementations of OpenGL ES 1.1, 2.0, and 3.0 that you can use to start developing your app. The capabilities of Simulator are similar to those of the A7 GPU. Simulator differs from the hardware processor in a few ways:
Simulator does not use a tile-based deferred renderer.
Simulator does not provide a pixel-accurate match to the graphics hardware.
Important: The OpenGL ES support in Simulator should be used to help you get started writing an OpenGL ES app. Never assume that Simulator reflects the real-world performance or the precise capabilities of the graphics processors used in iOS devices. Always profile and optimize your drawing code on a real device.