Why am I seeing “An error occurred while trying to run the script.” in the UI Automation instrument?

后端 未结 4 1361
渐次进展
渐次进展 2021-01-04 04:08

When I try to run a UI Automation script on iOS 5 devices I am getting the following error:

\"An error occurred while trying to run the script.\"

4条回答
  •  孤城傲影
    2021-01-04 04:16

    I would try closing xcode and starting the automation script without xcode running. I had an issue where the process was attached to xcode, when I attempted to run from instruments, xcode got stuck on a breakpoint/crash and I couldn't proceed.

    The solution I'm proposing is run Instruments independent of xcode.

提交回复
热议问题