英文:
ADB equivalent for iOS device with windows PC
问题
我正在寻找一种像Android ADB一样的工具,以便调试iOS设备。我找到了iOS Instrument,这是XCode的一个工具,可以在移动iOS设备上调试应用程序。
非常感谢您提供任何想法或评论。
我想知道是否可以在iOS设备上执行触摸操作,例如像"tap"、"swipe"、"drag"、"flick"这样的输入事件,以及像ADB shell为Android设备保存屏幕图像的类似方式。
我正在使用Windows 10专业版和iOS 15.1。
英文:
I was looking some instrument like Android ADB in order to debug iOS devices. I've found iOS instrument, a tool of the XCode that is able to debug app on mobile iOS devices.
Any idea or comment is greatly appreciated by me.
I would like to know if it's possible execute a touch on the iOS device, such as input events like "tap", "swipe", "drag", "flick", save image screen in similar manner of ABD shell for android devices.
I am using OS win10pro, and iOS 15.1.
答案1
得分: 1
你可以使用开源工具集“libimobiledevice”,该工具集也适用于Windows。
这个工具集包括ideviceinstaller
用于在连接的iPhone上传输和安装IPA文件,idevice_id
用于获取连接的iPhone UUID,idevicescreenshot
和许多其他工具。
此外,您还需要安装和运行“Apple Mobile Device Services”。这个服务包含在苹果的iTunes for Windows中。如果您不想安装完整的iTunes,可以只提取iTunes Windows安装程序以获取Apple Mobile服务的安装程序。
只有越狱的iOS设备才能实现真正的Shell访问。通常,在越狱过程中,您可以选择安装SSH守护程序,通过USB访问它(使用iproxy进行端口转发,将端口22转发到iPhone)。
英文:
You can use the open source tool set "libimobiledevice" which also exists for Windows.
This set of tools include e.g. ideviceinstaller
for transmitting and installing IPA files on an connected iPhone, idevice_id
for getting the connected iPhone UUIDs, idevicescreenshot
and many more tools.
In addition you need the "Apple Mobile Device Services" installed and running. THis service is included in the Apple's iTunes for Windows. You don't need install complete iTunes, if you don't want to. You can just extract the iTunes Windows installer to get the Installer for Apple Mobile services.
Real shell access is only possible for jailbroken iOS devices. Usually in the process of jailbreaking you have an option to install ssh daemon which you can access via USB (use iproxy for set-up port forwarding of port 22 to the iPhone).
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论