iOS and Mac Cocoa library for communicating over USB
peertalk is a small Cocoa library for iOS and macOS that enables apps to communicate over USB (and also supports TCP), with an emphasis on simplicity and low-latency connections. The project is aimed at scenarios where you want a reliable, direct link between a Mac app and an iOS app without relying on Wi-Fi discovery, manual hostnames, or network exposure. A key motivation is that a USB link is inherently constrained to the devices at each end of the cable, which can make the communication model feel more contained and straightforward for certain tooling or companion-app setups. ...
A socket daemon to multiplex connections from and to iOS devices
...You should also create an usbmux user that has access to USB devices on your system. Alternatively, just pass a different username using the -U argument. usbmuxd is not used for tethering data transfers which uses a dedicated USB interface to act as a virtual network device. The higher-level layers, especially if you want to write an application to interact with the device, are handled by libimobiledevice.