Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 815
Stefano Avatar asked Oct 03 '14 07:10

Stefano


1 Answers

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.

like image 124
Philippe B. Avatar answered Oct 03 '22 09:10

Philippe B.