Running multiple test targets with LLDB enabled results in Simulator In Use error

Originator:jason.prado
Number:rdar://15034131 Date Originated:9/19
Status: Resolved:
Product:Xcode Product Version:5
Classification: Reproducible:Always
 
Summary:
In Xcode 5 production build.

If a Test scheme causes two test targets to execute where both targets have an empty Test Target setting, the last test causes a Simulator In Use error.

Steps to Reproduce:
1. Open Xcode 5 on OS X 10.8.4.
2. Create an iOS application.
3. Create two test targets using OCUnit.
4. In build settings for both targets, clear out the Test Host setting.
5. Cmd+U to run tests.

The attached project exhibits this case.

Expected Results:
Tests all run and pass/fail

Actual Results:
After some test targets run, Xcode displays a Simulator In Use error.

Version:
10.8.4, Xcode 5 production.

Notes:
Setting the debugger to None instead of LLDB also does not trigger this problem. This style of test target worked in Xcode 4.6.

Configuration:
I see it on 10.8.4, others at Facebook see it in Mavericks. Using a Test Host does not trigger this problem, but that is not an acceptable workaround.

Attachments:
'SimulatorInUseBug.zip' was successfully uploaded.

Comments

Duplicate of 14840504 (Closed)

By jason.prado at Feb. 6, 2014, 6:33 p.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!