开发人员工具:Instruments 命令行界面
您是否知道是否可以使用 Instruments 命令行界面启动 UIAutomation 工具或将 UIAutomation 工具附加到实际 iOS 设备上的进程?
我知道仪器有命令行界面,但到目前为止我还无法连接到该设备。
Do you know if it is possible to launch or attach UIAutomation tool to a process on the actual iOS device using Instruments command line interface ?
I know that there is command line interface for instruments but so far I haven't been able to connect to the device.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当前命令行 Instruments 界面中存在错误。此处记录:
http://openradar.appspot.com/9150033
我通过工作提交了一个错误,他们把它当作这个的骗局而关闭了。
修复后,它的工作方式应如下所示:
http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/instruments.1.html
解决方法都很简单,Instruments 产品缺少 osascript扩展也是如此。我将在等待修复完成的同时调查黑客行为。
There is currently a bug in the command line Instruments interface. It's documented here:
http://openradar.appspot.com/9150033
I filed a bug through my job, and they closed it as a dupe of this one.
When it is fixed, it should work like the following:
http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/instruments.1.html
The workarounds would all be hacky, the Instruments product lacks osascript extensions as well. I'm going to be investigating hacks, while waiting for this fix to come through.
您可以将 -w 开关与您的设备 UDID 一起使用
You can use -w switch along with your device UDID