Home/Glossary/What is the iOS Simulator, and can it replace testing on a real device?

What is the iOS Simulator, and can it replace testing on a real device?

Updated · airankrush

Term · iOS Simulator

The iOS Simulator is a tool included with Xcode that starts virtual iPhone, iPad, Apple Watch and other devices of different models and system versions on a Mac, so you can install, run and debug an app without a physical device at hand. It runs an app compiled for the Mac's processor rather than real device firmware, so, as Apple explains, it cannot reproduce the performance of a physical device, and some hardware-dependent features are unavailable. The simulator runtime for each system version has to be downloaded separately in Xcode. It exists only on macOS; there is no official iOS simulator for Windows or Linux.

How it relates to renting a remote Mac

The simulator is one of the most visible reasons that "iOS development needs a Mac": building the interface, adjusting layout, checking how things look on different screen sizes, and taking store screenshots all rely on it.

This is what using the simulator on a remote Mac is like:

  • It runs. The simulator is just a window on the Mac. It shows up in the remote desktop, and you use the mouse in place of a finger.
  • The feel depends on the connection. Scrolling and animation are less smooth after passing through remote desktop than they are locally, and how smooth depends on your local network line. It is fine for confirming that features and layout are right, and a stretch for polishing how animations feel.
  • It is the main way to test. The remote machine cannot connect to your phone, so day-to-day development relies on the simulator, and you go through TestFlight when you need acceptance on a real device. Together they cover most pre-release checks.
  • It uses disk space. The runtime for each system version is not small. Keep only the versions you use.

Where the simulator cannot stand in for a real device: actual performance and heat, some sensors and hardware features, and certain system capabilities that must be verified on physical hardware. For these follow Apple's explanation; when you need them, you need a physical device.

FAQ

Can an app developed only in the simulator pass App Store review?

Review looks at the build you submit and does not ask what you tested with. But an app that has only ever run in the simulator is more likely to be submitted with problems that only show up on a real device. Run through it fully on at least one real device with TestFlight.

Does the simulator require signing in to a developer account?

No. Building and running in the simulator involves no device signing. It works without a paid membership, and even without signing in to any account in Xcode, which makes it suitable for getting started.

Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support

Back to home · Glossary