Unable to run tests from command line with iphonesimulator6.0
| Originator: | truggles | ||
| Number: | rdar://12368258 | Date Originated: | 9/25/2012 |
| Status: | Resolved: | ||
| Product: | XCode | Product Version: | 4.5 (4G182) |
| Classification: | Serious Bug | Reproducible: | Always |
Summary:
When attempting to run tests via the command line against the 6.0 simulator the tests do not run. But the same command using the 5.0 and 5.1 versions work fine.
Steps to Reproduce:
xcodebuild -project foo -target Tests -configuration Debug -sdk iphonesimulator6.0 SYMROOT=/Users/local/VIDMARK/truggles/work/git/iOS-SDK/BCiOSSDK/build ARCHS=i386 VALID_ARCHS=i386
Expected Results:
Tests should run
Actual Results:
Tests do not run. Instead "Terminating since there is no workspace" message. See below.
[exec] /Applications/Xcode.app/Contents/Developer/Tools/RunPlatformUnitTests.include:273: note: Running tests for architecture 'i386' (GC OFF)
[exec] 2012-09-25 12:52:26.982 BCiOSSDKExample[71071:14303] Unknown Device Type. Using UIUserInterfaceIdiomPad based on screen size
[exec] Terminating since there is no workspace.
[exec] /Applications/Xcode.app/Contents/Developer/Tools/RunPlatformUnitTests.include:334: note: Passed tests for architecture 'i386' (GC OFF)
[exec]
[exec] /Applications/Xcode.app/Contents/Developer/Tools/RunPlatformUnitTests.include:345: note: Completed tests for architectures 'i386'
Regression:
Yes. If I specify iphonesimulator5.0 or 5.1 the tests run fine.
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!