当我尝试使用 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/