iphone - 设备上的 UIAutomation 在开始捕获时挂起

标签 iphone xcode instruments ui-automation

当我尝试使用 UIAutomation 捕获设备上的 UI 输入时,它挂起并显示“开始捕获”。

1) I click on Profile in Xcode which
2) Starts up Instruments where I select Automation and click Profile
3) Which starts Instruments running.  In Scripts I select Add->Create which shows the record button at the bottom 
4) I click the record button and it hangs saying "Starting Capture" and doesn't record my UI input.

我的配置文件方案的构建配置是调试。

知道我缺少什么导致 UIAutomation 挂起吗?

最佳答案

对于 iOS8 设备,还请确保在“设置”中启用 UI 自动化。

设置 -> 开发者 -> 启用 UI 自动化

关于iphone - 设备上的 UIAutomation 在开始捕获时挂起,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15443481/

相关文章:

iphone - 是否可以在应用程序运行时即时更改 Tabbar 项目文本/图标?

javascript - iPhone dashcode xmlhttprequest 无响应

iphone - 如何将图像设置到iPhone中的UISegmentedControl?

json - 在 Swift 上访问变量 do-catch 语句

ios - Xcode Instruments 8.3 显示设置按钮丢失

iphone - 在两个 Sprite 之间创建距离缓冲区

iphone - 在非英语语言的 iPhone 上使用 Google map 寻找方向

objective-c - 在 OS X 上创建和使用静态库

xcode - 如何摆脱 'Failed to get task for pid"错误?

检查内存泄漏 C - OS X 10.9 Xcode