Stefano
Stefano

Reputation: 1722

An error occurred while trying to run the script on device with IOS 8 and Xcode 6 UIAutomation

When I try to run a UI Automation script on the device Iphone 4s with iOS 8 with Xcode 6, I am getting the following error:
"An error occurred while trying to run the script."

enter image description here

While I tried the same script on IOS 7.1 and it's ran.

Upvotes: 8

Views: 1079

Answers (1)

Philippe B.
Philippe B.

Reputation: 206

I had the same problem and found the solution on Apple forum: https://devforums.apple.com/message/1017776#1017776

There is a new setting under "Settings" -> "Developer" -> "UIAUTOMATATION" -> "Enable UIAutomatation".

It worked for me.

Upvotes: 19

Related Questions