Remotely control iOS Devices

Remotely control iOS Devices via VNC using xcuitrunner

You can mirror the screen of an iOS device (such as an iPhone or an iPad) to your local PC or a remote PC, and remotely control your iOS device using your keyboard and mouse, using xcuitrunner.

xcuitrunner will start a VNC server. You’ll need a VNC client, such as TightVNC

To remotely control your iOS device using xcuitrunner:

  1. Start xcuitrunner, and specify the --vnc command line argument. This will cause xcuitrunner to start a VNC server.
  2. xcuitrunner will start a VNC server which listens on a local port. The port number will be visible in the console output. By default, this port is 5900.
  3. Launch TightVNC and connec to localhost:[port], such as localhost:5900.
  4. When requested for a password, specify the UDID (serial number) of your device.

You will now see the screen of your iOS device on your local PC. You can also remotely control your iOS device using your keyboard and mouse. Use the Windows key to simulate a press on the Home button.

Last modified October 30, 2019: Fix typos (987e672)