Xcode Automation Instrument Fails To Work on Device
| Originator: | michael | ||
| Number: | rdar://12375196 | Date Originated: | |
| Status: | Open | Resolved: | |
| Product: | Xcode (Instruments) | Product Version: | 4.5 |
| Classification: | Reproducible: |
Summary: In Xcode version 4.4.1, Automation instrument attaches fine to a real device. However, in Xcode version 4.5, it fails to attach. Steps to Reproduce: 1. Create a brand new Xcode project. 2. Attach an iOS device. 3. Change the active scheme to compile for a device. 4. Launch Instruments by hitting CMD+I. 5. Select the Automation instrument. 6. Add a new empty script with the following: var target = UIATarget.localTarget(); target.logElementTree(); 7. Press stop, and then start the trace again by pressing record Expected Results: Script starts running, and trace log should show element tree logged. Actual Results: Status always says "Script is stopped", and the trace log is empty. Regression: This works when targeting the Simulator, and also used to work in 4.4.1. Notes:
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!