If two devices connected to computer, unit test on device will toggle from one device to the next

Originator:robert.ryan
Number:rdar://20499308 Date Originated:10-Apr-2015 12:59 PM
Status:Open Resolved:
Product:Xcode Product Version:6.3 (6D570)
Classification:Bug Reproducible:Yes
 
Summary:
If I have two devices (one iPhone 6+, one iPad Air) connected to my computer at one time, and I run unit tests on the physical device, Xcode will run the unit test on the device in question, but will change the selected device in Xcode to be the other device. So if I run test again, if I'm not careful, it will run on the other device. And when doing benchmarking with `measureBlock`, it's important to stay on the particular device in question.

Steps to Reproduce:
1. Hook up two devices to computer.
2. Unit test on one device.
3. Watch Xcode change from one device to the other.

Expected Results:
Don't change from one device to the other.

Actual Results:
Changes from one device to the other.

Version:
Xcode Version 6.3 (6D570)

Notes:


Configuration:
Xcode Version 6.3 (6D570)
Mac OS X 10.10.3 (14D131)
iOS 8.3 (12F69) on iPad Air
iOS 8.3 (12F70) on iPhone 6+

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!