VII. Remote build and remote debug

2.    iOS (only work on MacOS)

  • First, select available device and click Use to get instructions.
  • Install socat tool to connect to remote device:
  • Backup system file

*Restore after finishing work to ensure system work properly: sudo mv /usr/var/usbmuxx /usr/var/usbmuxd

  • Connect to remote device (using sudo).
  • Open Xcode to check device is connected. Wait a moment for Xcode to find the device.
  • After the device is found, If it is the first time connecting to device, user may have to wait 3-10 minutes to prepare the device (LAN connection) or several hours (Internet connection)
  • After preparing, user can select device to build with Xcode.
  • Run project with remote device.
  • After preparing, users can select device to build, run, debug just like a real device being plugged into user’s computer. Example:

Leave a Reply

Your email address will not be published. Required fields are marked *