ADB相当于iOS设备 [英] ADB equivalent for iOS device

查看:799
本文介绍了ADB相当于iOS设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一些像Android ADB这样的乐器,以便调试iOS设备。我发现了iOS工具,这是一种能够在移动iOS设备上调试应用的XCode工具。如果您必须测试您的应用程序或其他开源应用程序,则此仪器将非常有用。

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. This instrument is helpful if you have to test your application or some other open source app.

我需要测试iOS设备,而不是我的应用程序,所以我正在寻找类似Android ADB的iOS设备。

I need to test the iOS device, more than my apps, so I was looking for something like Android ADB for iOS devices.

是否有类似的东西?

推荐答案

您问:


我想知道是否可以在iOS设备上执行触摸,例如类似tap,swipe,drag,flick等输入事件Android设备的adb shell的方式。例如,我想对任何图标(例如设置或主菜单的其他图标)进行触摸,我没有兴趣调试我的应用程序,而只是为了模拟一个事件来调试设备。

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" in similar manner of adb shell for android devices. For example, I would like to execute a touch on any icon (such as settings, or some other icon of the main menu) and I am not interesting to debug my apps, but only to emulate an event in order to debug the device.

这种测试是通过仪器完成的。请参阅 Automated UI Testing 部分仪器用户指南。另请参阅WWDC 2010视频自动化用户界面测试仪器,其中显示了此过程的一些交互式演示。此可可可控制页面具有许多其他链接也是。

This sort of testing is done via Instruments. See the Automated UI Testing section of the Instruments User Guide. Also see WWDC 2010 video Automating User Interface Testing with Instruments, which shows some interactive demonstrations of this process. This Cocoa Controls page has many other links, too.

底线,您可以使用仪器中的UI自动化工具自动测试UI。请注意,我们中的一些人在iOS 7中使用了模拟器,但在物理设备上似乎可以正常工作。

Bottom line, you can use the UI Automation tool in Instruments to automate the testing of your UI. Note, some of us have had issues in iOS 7 with using this on the simulator, but it seems to work fine on physical devices.

这篇关于ADB相当于iOS设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆