Last Updated Dec 04, 2026

Control the iOS Simulator on a Mac Mini From Your MacBook

RocketSim Browser Preview showing a live iPhone Simulator, its accessibility tree, and visual feedback, opened in a browser on another Mac.

You can control the iOS Simulator on a Mac Mini remotely with RocketSim’s Browser Preview. Start the preview on the Mini with rocketsim preview --lan, open the URL it prints in the browser of your MacBook, and you can watch the Simulator live. The preview is also interactive, so you can navigate the app, tap, scroll, and type from your browser while your coding agent keeps working on the Mini.

More and more developers run their agent on a dedicated Mac Mini and keep their MacBook free for everything else. That works well until you want to see what the agent is doing in the Simulator. I make RocketSim, so I’m biased, but this is the exact problem Browser Preview was made to solve.

Why run your agent on a Mac Mini?

An agent that builds, runs, and verifies an app keeps a Mac busy for a long time. Xcode builds use a lot of CPU, and a booted Simulator takes memory. On a Mac Mini, that load stays off your laptop, and the agent can keep going when you close your MacBook and walk away.

The downside is that the Simulator now lives on a Mac you are not sitting at. You could use Screen Sharing, but you would be controlling a whole desktop to look at one device. I prefer a view of only the Simulator, in a browser tab, next to the editor or chat window I’m already using.

How do you control the iOS Simulator from another Mac?

Browser Preview is the feature RocketSim uses to stream a booted Simulator into a browser. By default it stays on localhost, so only the Mac that runs the Simulator can open it. To share it with another Mac, you opt in with the --lan flag:

Terminal window
rocketsim preview --lan

Run this on the Mac Mini, with RocketSim running and a Simulator booted. RocketSim prints a token-protected URL. Open that URL on your MacBook and the Simulator appears in your browser, including the device bezel.

You can run the command yourself or ask your agent to do it. There are a few requirements to keep in mind:

  • RocketSim Pro on the Mac that runs the Simulator. The MacBook only needs a browser.
  • RocketSim running on the Mac Mini in a logged-in user session, with at least one booted Simulator.
  • The rocketsim command line tool, which you install from Settings → CLI & Agent.
  • Both Macs on the same network, or on the same Tailscale tailnet.

If several Simulators are booted, add --udid <udid> to pick one, or use the device menu above the preview. Use --port <port> when the default port is taken. The dedicated documentation page lists everything, including troubleshooting.

How does the preview start when your agent works?

If you use the RocketSim Agent Skill, you don’t have to start a preview yourself. Commands that target a Simulator automatically launch a Browser Preview and include its URL in the response, so your agent can tell you where to find it. That automatic preview stays on localhost, which is what you want on a single Mac but not when you sit at your MacBook.

The fix is to tell your agent to always use the --lan flag. Add a line like this to your AGENTS.md, your CLAUDE.md, or the first prompt of a session:

When you need a Simulator preview, start it with `rocketsim preview --lan`
and share the URL with me. Always use the --lan flag.

From then on, the preview URL your agent shares is one you can open on your MacBook. This is the part I like most about the setup: you give the instruction once and never have to think about it again.

What can you do in the browser?

The remote preview is not a read-only stream. It’s the same interactive Browser Preview you can use locally, so you can use the Simulator from your browser as if it were in front of you:

  • Click to tap and drag to perform gestures
  • Scroll with your mouse or trackpad
  • Click the preview and type with your keyboard
  • Press Home and Lock with the controls below the device

That means you don’t have to wait for your agent to reach a screen. You can navigate to it yourself, leave your agent watching, and ask it to continue from there.

Can you do this away from your home network?

Yes, with Tailscale. The --lan flag works for Macs on the same Tailscale tailnet as well. Install Tailscale on both Macs, sign in to the same account, and open the URL RocketSim prints, even when your MacBook is on a different Wi-Fi network.

This is the setup I would pick outside your own network. The preview is served over plain HTTP, which the next section explains.

Is the remote preview secure?

The remote preview is opt-in, and a few rules limit what it exposes:

  • Without --lan, it never leaves localhost.
  • The URL is token-protected.
  • RocketSim listens only on the address it shows.
  • The preview stops after 30 minutes without a connected browser.

That last rule is also a pitfall. You might expect the preview to stay available as long as the Mini is on, but it stops when no browser is connected for 30 minutes. If you start it and get distracted, run the command again and open the new URL.

Because the connection uses plain HTTP, I recommend using it only on networks you trust or over Tailscale. In other words, don’t open it on public Wi-Fi without Tailscale in between.

How do you review your agent’s work from your MacBook?

Interaction is only half of the workflow. While the agent works on the Mini, you follow along on your MacBook. When it finishes, you take over, click through the result, and select elements in the Accessibility panel or with inspect mode. Add your feedback, click Copy prompt, and paste the result into the chat with your agent.

That prompt contains the Simulator, the captured screen, the selected elements with their frames, and your comments. It gives the agent a concrete target, which beats “the button near the bottom is off.” I wrote more about this workflow in Preview and Control the iOS Simulator in Your Browser.

Does the Simulator run on your MacBook?

No. Your app, its data, and the Simulator keep running on the Mac Mini. RocketSim streams the screen to your browser and forwards your input back to the same device. Your MacBook doesn’t need Xcode or a Simulator runtime for this, and Apple’s Simulator documentation still describes how the Simulator itself works.

If you want to know more about what your agent can do with RocketSim on the Mini, take a look at AI Agents for the iOS Simulator and the agentic development feature page.

Conclusion

A Mac Mini is a good home for a coding agent, and Browser Preview makes the Simulator on it feel close by. Run rocketsim preview --lan on the Mini, open the URL on your MacBook, and use Tailscale when you are away from your own network.

Install RocketSim from the Mac App Store, then open Settings → CLI & Agent to install the command line tool and Agent Skill. Do you run your agent on a Mac Mini? Feel free to contact me or tweet me on Twitter with your setup or any additional tips or feedback.

Thanks!

Ready to Build Apps Faster?

Boost your productivity and streamline your workflow with our powerful Xcode Simulator tools. Developers report building, testing, and verifying apps up to 2x faster with RocketSim.