When recording using UIAutomation on a device, it

2019-03-30 18:35发布

问题:

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.