Reputation: 1722
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."
While I tried the same script on IOS 7.1 and it's ran.
Upvotes: 8
Views: 1079
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