我对 iOS 设备和 Linux 工作站之间通过 USB 进行 TCP/IP 连接、未启用个人热点(USB 共享)有疑问。
最佳答案
您可以使用 iproxy 通过 USB 连接到 iPhone 上运行的 TCP 套接字。它是 libusbmuxd 的一部分。
如果您使用的是 Linux,最好的选择是安装 https://github.com/libimobiledevice/libplist/ , https://github.com/libimobiledevice/libusbmuxd和 https://github.com/libimobiledevice/libimobiledevice从源头。
一旦您的 iPhone 信任您的 PC,您就可以运行 iproxy [设备端口] [PC 端口]
。任何与 localhost:[PC 端口]
的连接都将被转发到您的 iOS 设备上运行的 [设备端口]。
关于iOS TCP/IP over USB 与 Linux 端,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52166569/