iOS app-level communication over USB

2.1k Views Asked by At

Is it possible to to communicate between MAC/Windows programs and an application on iOS through USB?

Requirements:

  • No jailbreak required
  • App store approval

I looked into USBMuxConnectByPort and it requires SSH/Jailbreak.

Is there any other option?

1

There are 1 best solutions below

1
On

It is possible. 'USBMuxConnectByPort' is the function from the private framework MobileDevice.framework See usage example here: https://github.com/smirn0v/imux imux – application I wrote that ties local tcp port on your mac with tcp port on your ipad/iphone. So connection to 127.0.0.1:someport will actually connect you to your iPhone/iPad via usb.