When recording using UIAutomation on a device, it hangs on 'Starting Capture…' . Works fine on Simulator

≯℡__Kan透↙ 提交于 2019-12-21 05:12:23

问题


Has anyone else had this problem?

I'm new to UIAutomation. Am using Xcode4.5, trying to record commands on my iPad 3 running ios6. When I click the record button, it just hangs on 'Starting Capture...'. I had this problem initially when trying to run on the simulator and was able to solve it using. sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer. Can't seem to get it working on my device. Do the accessibility settings need to be set a certain way? I have multi-tasking turned on.

When I try to run a script, nothing happens. No errors or anything. Totally stumped.


回答1:


Make sure the app is compiled using a Development Provisioning Profile and not an Ad-hoc one.



来源:https://stackoverflow.com/questions/13327885/when-recording-using-uiautomation-on-a-device-it-hangs-on-starting-capture

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!