Xcode 5 instruments command-line tool will not run UIAutomation tests on iOS 6.1

Originator:jeff
Number:rdar://14194439 Date Originated:06.18.2013
Status:Closed Resolved:
Product:Developer Tools Product Version:5.0 (50069.1)
Classification:Serious Bug Reproducible:Always
 
18-Jun-2013 02:37 PM Jeffrey Wear:
Summary:

The instruments command-line tool included as part of the Xcode 5 developer tools (build 5A11314m) will not launch UIAutomation tests if the iOS Simulator is using the iOS 6.1 SDK.

Steps to Reproduce:

1. Open the simulator and set its version to 6.1 (10B141).
2. Make sure that neither the iOS 5.1 SDK nor the iOS 7 SDK are installed. It suffices to temporarily remove iPhoneSimulator[5.1, 7.0].sdk from /Applications/Xcode5-DP.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/. Note that you must do this *after* the Simulator has been opened and its version set, otherwise the Simulator will crash.
3. Execute `sh RunUIAutomationTests.sh` from the root directory of the attached project.

Expected Results:

instruments should run the `LogIn.js` script using the Automation trace template (as directed by `RunUIAutomationTests.sh`.

Actual Results:

instruments launches the app, prints a series of lines of the format "pid 2 = <pid>", followed by "Its me!!!" (sic), and then stalls.

Regression:

Yes: following the steps to reproduce using the Xcode 4.6.2 (4H1003) developer tools (i.e instruments 4.5 (46000)) yields the expected results.

Notes:

If the above steps are repeated using iOS 5.1 or iOS 7.0, the "pid 2 = <pid>; ...; Its me!!!" messages will still print, but LogIn.js will execute.

Comments

Apple listed this in the Xcode 5 DP2 release notes

http://adcdownload.apple.com//Developer_Tools/xcode_5_developer_preview_2/xcode5dp2releasenotesfinal.pdf and ctrl + f Automation

By feedback.tagher at June 25, 2013, 6:35 a.m. (reply...)

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!