UIAutomation does not work in the Xcode 5.1 Beta 5 iOS 7.1 Simulator
| Originator: | jeff | ||
| Number: | rdar://15994281 | Date Originated: | 02.05.2014 |
| Status: | Closed | Resolved: | 03.10.2014 |
| Product: | Developer Tools | Product Version: | Xcode 5.1 Beta 5 (5B103i), instruments 5.1 (55037.1) |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: UIAutomation will not attach to a target running in the iOS 7.1 Simulator--whether running the Instruments GUI or instruments CLI tool, UIAutomation launches, pauses, and after about 30 seconds, aborts, with an error message printed to the Instruments GUI or the Terminal. Steps to Reproduce: 1. Download Xcode 5.1 Beta 5. 2. Open the Simulator and set it to "iPhone Retina (4-inch 64-bit)", "iOS 7.1 (11D5145e)". 3. Execute `sh RunUIAutomationTests.sh` from the root directory of the attached project. Expected Results: UIAutomation runs the "LogIn.js" script. Actual Results: UIAutomation prints the following to the console: 2014-02-05 13:10:21.970 ScriptAgent[24617:2f07] CLTilesManagerClient: initialize, sSharedTilesManagerClient 2014-02-05 13:10:21.970 ScriptAgent[24617:2f07] CLTilesManagerClient: init 2014-02-05 13:10:21.971 ScriptAgent[24617:2f07] CLTilesManagerClient: reconnecting, 0x10aaeaa90 2014-02-05 13:10:52.061 ScriptAgent[24617:2f07] +[UIAXElement initializeAccessibility]: UIAutomation never received kAXAccessibilityLoaded. Waited 30.01 seconds. 2014-02-05 13:10:52.061 ScriptAgent[24617:2f07] AXError: Could not auto-register for pid status change 2014-02-05 13:10:52.064 ScriptAgent[24617:2f07] Failed to enable accessiblity, kAXErrorServerNotFound 2014-02-05 13:10:52.472 instruments[24613:5b0b] Automation Instrument ran into an exception while trying to run the script. UIAScriptAgentSignaledException 2014-02-05 21:10:52 +0000 Fail: An error occurred while trying to run the script. Instruments Trace Complete (Duration : 33.134693s; Output : /Users/jeffreywear/Desktop/Subliminal Radars/MyGreatApp/instrumentscli0.trace) If the trace is opened in the Instruments GUI, you will see a single error: "An error occurred while trying to run the script." This error is also seen if UIAutomation is launched from Xcode. Version: Xcode 5.1 Beta 5 (5B103i), instruments 5.1 (55037.1), OS X 10.8.5. Notes: This is a regression from Xcode 5.1 Beta 4. Attachment: http://cl.ly/0J183H2t1d2D
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Please don't post Radars for pre-release software on OpenRadar, it violates your NDA with Apple and exposes the site to takedown requests.