peertalk
iOS and Mac Cocoa library for communicating over USB
...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. Typical use cases include developer tools, companion displays, device-to-desktop instrumentation, or any workflow where an iOS device acts as a peripheral to a desktop app. The library is intentionally focused: it’s not trying to be a full networking framework, but rather a practical way to “hug it out over USB” for app-to-app messaging.