Home/Q&A/Can a rented remote Mac run the iOS Simulator?

Can a rented remote Mac run the iOS Simulator?

Updated · airankrush

Direct answer

Yes. The simulator is part of Xcode and runs on the remote Mac itself, with no extra hardware needed; you see and operate it through the remote desktop. Features that depend on hardware cannot be tested in the simulator.

Basis

  • Recent Xcode versions deliver each platform's simulator runtime as a separate download. After installing Xcode you still need to download the iOS runtime, in the Components pane of Xcode → Settings or with xcodebuild -downloadPlatform iOS, before any simulator is available. The runtime is a large file, so count it into your first-day setup time.
  • One runtime can back several device models, which lets you compare screen sizes. How many you can run at once, and whether things stay smooth, depends on the machine's memory and what else you have open. We have no measured numbers.
  • Flutter's flutter run and React Native's Metro can both attach to the local simulator for hot reload. The condition is that the code and the dev server are on the remote Mac: code you change on Windows has to be synced over first (through Git, for example), or you edit in an editor on the remote Mac.
  • What the simulator does not cover: the camera viewfinder, Bluetooth, NFC, real push delivery, and performance and heat. In-app purchases can be simulated in Xcode with a local configuration file, but it is still worth running the real sandbox purchase flow on a physical device.

Information as of .

Boundaries: when the answer is different

If what you need to verify is exactly a hardware feature, or you need to judge whether an animation is smooth, a simulator viewed over remote desktop cannot give you a trustworthy answer. Install the app on your own phone through TestFlight, or use a Mac you have at hand. A fast simulator does not mean a fast device, and the reverse is also true. How responsive the remote picture feels depends on your local network route, and we make no promise about smoothness.

How to do it

  1. Open Xcode for the first time after installing it, tick the iOS platform and download it.
  2. In Xcode's Devices and Simulators window, add one or two device models you use often rather than creating many at once.
  3. In the project folder, run your framework's start command so the app installs into the booted simulator.
  4. Use hot reload to see changes, and do a full build only when the native part needs recompiling.
  5. Quit the simulator when you are not using it, to free memory for builds.

Use case

This question belongs to the use case: iOS without a Mac: a remote Mac mini can build, sign and upload, but not debug on a real device

Other questions in the same use case:

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

Back to home · All Q&A