Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

实现类似adbkit的能力 #270

Open
zhangpeibisha opened this issue Nov 13, 2022 · 4 comments
Open

实现类似adbkit的能力 #270

zhangpeibisha opened this issue Nov 13, 2022 · 4 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@zhangpeibisha
Copy link

目前iPhone设备比较昂贵,如果公司出现多个办公点,以目前的情况来说,则需要购买多个设备来进行开发和测试。是否可以在iPhone和Pc间加上一个代理服务,使得iPhone设备可以远程被用于xcode调试。

目前我了解到可以模拟lockdown来进行模拟iPhone设备链接usbmuxd,如果我在这个模拟的lockdown提供服务,允许客户端链接这个代理服务,是否就可以完成代理能力实现跨物理设备连接和使用iPhone设备

@ZhouYixun
Copy link

目前iPhone设备比较昂贵,如果公司出现多个办公点,以目前的情况来说,则需要购买多个设备来进行开发和测试。是否可以在iPhone和Pc间加上一个代理服务,使得iPhone设备可以远程被用于xcode调试。

目前我了解到可以模拟lockdown来进行模拟iPhone设备链接usbmuxd,如果我在这个模拟的lockdown提供服务,允许客户端链接这个代理服务,是否就可以完成代理能力实现跨物理设备连接和使用iPhone设备

sib刚好实现了这个功能 https://sonic-cloud.gitee.io/#/SIB?tag=sib-remote

@codeskyblue
Copy link
Collaborator

利用socat也可以简单的实现一下。

在链接电脑的主机上执行命令

socat TCP-LISTEN:27015,fork,reuseaddr UNIX:/var/run/usbmuxd

在另外一台机器上执行

tidevice --socket 机器的IP:27015 list

@codeskyblue codeskyblue added help wanted Extra attention is needed good first issue Good for newcomers labels Feb 23, 2023
@ZhouYixun
Copy link

利用socat也可以简单的实现一下。

在链接电脑的主机上执行命令

socat TCP-LISTEN:27015,fork,reuseaddr UNIX:/var/run/usbmuxd

在另外一台机器上执行

tidevice --socket 机器的IP:27015 list

学到了

@ivoidcat
Copy link

请问这种方式可以在广域网中使用吗,或者使用vpn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants