Home/Q&A/Does the iOS Simulator on a remote Mac use the US network?

Does the iOS Simulator on a remote Mac use the US network?

Updated · airankrush

Direct answer

Yes. The iOS Simulator has no separate network; it uses the network connection of the Mac it runs on. The remote Mac is on US residential broadband, so requests from apps in the simulator go out over that line.

Basis

  • The simulator is a program running on the Mac, and apps inside it send requests through the Mac's network stack. The source address your server sees is whatever the Mac's public exit is at that moment.
  • The simulator is installed with Xcode. The customer account can install Xcode and the simulator runtimes it needs; these files are large, so allow for disk space when you order.
  • There is no App Store in the simulator, and store apps cannot be installed in it. What you can install is a simulator build you made yourself in Xcode, or a simulator build package someone sends you.
  • Good things to verify with it: region decisions based on the network exit, the choice of content delivery node, responses from localized APIs, and first-screen load time on a US network.

Information as of .

Boundaries: when the answer is different

There is a lot the simulator cannot test: behavior on a cellular network, the full push notification chain, real charges for in-app purchases, and features that depend on device hardware. It uses the Mac's processor and broadband, so performance figures do not represent a phone. You also cannot plug your own iPhone into the remote Mac; real-device testing needs another arrangement. The public exit may be shared with other machines and is not a fixed address, so the source address in your server logs may differ after a while. If all you have is someone else's release build and no source code, the simulator is of little help.

How to do it

  1. Install Xcode on the remote Mac and, on first launch, follow the prompts to install the iOS Simulator runtime.
  2. Pull the project code onto the machine, choose a simulator device as the run target, and build.
  3. Once the app is running, first open a page that shows the source address in the simulator's Safari and record the exit at that time.
  4. Walk through the region-related feature paths while watching the requests in the Xcode console or a packet capture tool.
  5. Export the screenshots and request logs to your own repository.

Use case

This question belongs to the use case: How can I test my site or app from a US network? Rent a real Mac in the United States

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