Control the Simulator from Another Mac
Open RocketSim's Browser Preview from your MacBook to watch and control the iOS Simulator on a Mac Mini, over your local network or Tailscale.
RocketSim can stream the iOS Simulator on one Mac to the browser of another Mac with rocketsim preview --lan. Run your coding agent and Simulator on a Mac Mini, then open the preview on your MacBook to watch the agent live, navigate and use the Simulator from the browser, and send visual feedback back to the agent. The Mac that runs the Simulator needs RocketSim Pro; the Mac that opens the preview only needs a browser.
This page covers the remote setup. For the interactive controls, the accessibility tree, and visual feedback, see Browser Preview. For the full workflow in article form, read Control the iOS Simulator on a Mac Mini Remotely.
Requirements
Section titled “Requirements”- RocketSim Pro on the Mac that runs the Simulator, for example your Mac Mini
- RocketSim running on that Mac, with at least one booted Simulator
- The
rocketsimcommand line tool, installed from Settings → CLI & Agent - Both Macs on the same local network, or on the same Tailscale tailnet
- Any browser on the Mac that opens the preview
RocketSim is a Mac app, so the Mac Mini needs RocketSim running in a logged-in user session. You don’t need Xcode or RocketSim on the Mac that only views the preview.
How do I open the Simulator from another Mac?
Section titled “How do I open the Simulator from another Mac?”Start the preview on the Mac that runs the Simulator, with the --lan flag:
rocketsim preview --lanRocketSim prints a token-protected URL. Open that URL in the browser of your other Mac. You can run the command yourself, or ask the coding agent on the Mac Mini to run it and share the URL with you.
Target a specific Simulator or choose a port with the same options as a local preview:
rocketsim preview --lan --udid <udid>rocketsim preview --lan --port 5000Without --lan, the preview stays on 127.0.0.1 and only the Mac that runs the Simulator can open it.
How does the preview start with the Agent Skill?
Section titled “How does the preview start with the Agent Skill?”With the RocketSim Agent Skill installed, commands that target a Simulator automatically launch a Browser Preview and include its URL in the response. That automatic preview stays on localhost.
To make sure your agent shares a preview you can open from another Mac, tell it to always use the --lan flag. Add an instruction like this to your AGENTS.md, CLAUDE.md, or the start 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.Can I use Tailscale instead of the same network?
Section titled “Can I use Tailscale instead of the same network?”Yes. --lan supports Macs on your Tailscale tailnet, so you can reach the Mac Mini from your MacBook when you are not on the same Wi-Fi. Install Tailscale on both Macs, sign in to the same tailnet, and open the URL RocketSim prints.
Use Tailscale whenever you leave your home or office network, because the preview is served over plain HTTP. See the security notes below.
What can I do from the other Mac?
Section titled “What can I do from the other Mac?”The remote preview is live and interactive, not a read-only stream. It is the same Browser Preview you get locally, so you can navigate and use the Simulator from the browser on your MacBook:
- Click to tap, drag to perform a gesture, scroll, and type with your keyboard
- Press Home and Lock below the device
- Switch between booted Simulators from the device menu
- Review the accessibility tree and inspect elements visually
- Click Copy prompt and paste the structured feedback into your coding agent
Your app, its data, and the Simulator keep running on the Mac Mini. The browser only receives the stream and sends your input back.
Is the remote preview secure?
Section titled “Is the remote preview secure?”The preview is opt-in and limited by design:
- Without
--lan, it stays on localhost - The URL is token-protected
- RocketSim listens only on the address it shows
- The preview stops after 30 minutes without a connected browser
- It is served over plain HTTP, so use it on networks you trust or over Tailscale
Don’t open the preview on public Wi-Fi without Tailscale.
Troubleshooting
Section titled “Troubleshooting”The page does not load on my other Mac
Section titled “The page does not load on my other Mac”Check that both Macs are on the same network or tailnet, and that you opened the exact URL RocketSim printed, including the token. If the Mac Mini changed networks since you started the preview, run rocketsim preview --lan again to get a fresh URL.
The preview stopped working after a while
Section titled “The preview stopped working after a while”A remote preview stops after 30 minutes without a connected browser. Run rocketsim preview --lan again and open the new URL.
The preview only works on the Mac Mini itself
Section titled “The preview only works on the Mac Mini itself”--lan is a RocketSim Pro feature on the Mac that runs the Simulator. Without Pro, or without the --lan flag, Browser Preview stays on localhost. See pricing for the plans.
The preview shows no Simulator
Section titled “The preview shows no Simulator”RocketSim must be running with at least one booted Simulator on the Mac Mini. Boot a Simulator or run your app from Xcode, then start the preview again.