Run unit tests of Cocoa Touch Static Library
| Originator: | david.anderson | ||
| Number: | rdar://15156225 | Date Originated: | |
| Status: | Duplicate | Resolved: | |
| Product: | Developer Tools | Product Version: | |
| Classification: | Reproducible: |
Summary: If a project contains only a Static Library target and a Unit Test target for that library and you attempt to run the tests, Xcode either hangs or crashes. Steps to Reproduce: 1. Launch Xcode 5.0.1 on Mavericks 13A598 2. File > New Project... 3. Framework & Library > Cocoa Touch Static Library 4. Give the Project the name "SampleKit" and create a git repo for it (on My Mac) 5. Pick a simulator (not a device) 6. Cmd + U to run the tests Expected Results: Unit tests to execute and complete (pass or fail) Actual Results: Xcode hangs or Xcode crashes (see crash log below) If the simulator was previously open, Xcode hangs If the simulator was previously closed, Xcode crashes Version: Xcode Version 5.0.1 (5A2034a) OSX Version 10.9 (13A598) Notes: Configuration: If a new project is started as an iOS Application (e.g. Single View Application) and then a Cocoa Touch Static Library is added to the project and its tests are run (the library's not the app's), the tests execute correctly. Duplicate of 15138036 (Open/Closed)
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!