Xcode 5 unable to configure inline Unit Tests for iOS and Mac in parallel

Number:rdar://15085316 Date Originated:sept 26, 2013
Status:Open Resolved:
Product:Developer Tools Product Version:5.0 (5A1413)
Classification:Other Bug Reproducible:Always
I have an Xcode project with a UnitTest target for iOS and a MacUnitTest  for OSX. The unit tests work on the respective platforms when run via Test. But the new inline checks where you can run individual tests only work for one platform at a time.

Steps to Reproduce:
1. Look at the provided sample app
2. for each of the 3 schemes run Test (CMD-U) - works.
3. open MacUnitTest.m while having the MacUnitTest scheme selected
4. click on the red x next to -(void)testExample

Expected Results:
The individual test case should be executed based on the currently selected scheme.

Actual Results:
You get the message "The run destination My Mac 64-bit is not valid for tests you have chosen to perform. Please select a run destination which supports the tests that you wish to perform".

Version 5.0 (5A1413)

if instead of the source browser look at the test case navigator you see that the tests from the currently selected scheme are black and the others are gray. If you switch between the UnitTest and MacUnitTest schemes these adapt and you are always able to execute the tests via the small play buttons.

This leads me to believe that here is a bug, since the inline test launch buttons should always match the currently selected scheme, like in the test navigator.

10.8.5 iMac 27"


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!