Terminating since there is no workspace
||Product Version:||4.5 GM|
when running logic tests on the command line (via xcodebuild) using the iOS 6 SDK, it won't work due to the message:
$ > xcodebuild -workspace TestApp.xcworkspace -scheme LogicTests -configuration Debug TEST_AFTER_BUILD=YES -sdk iphonesimulator6.0 build
=== BUILD NATIVE TARGET TestAppLogicTests OF PROJECT TestApp WITH CONFIGURATION Debug ===
/Applications/Xcode.app/Contents/Developer/Tools/RunPlatformUnitTests.include:266: note: Started tests for architectures 'i386'
Run unit tests for architecture 'i386' (GC OFF)
/Applications/Xcode.app/Contents/Developer/Tools/RunPlatformUnitTests.include:273: note: Running tests for architecture 'i386' (GC OFF)
2012-09-15 17:30:37.317 SN-Reporter[41333:707] Unknown Device Type. Using UIUserInterfaceIdiomPhone based on screen size
Terminating since there is no workspace.
/Applications/Xcode.app/Contents/Developer/Tools/RunPlatformUnitTests.include:334: note: Passed tests for architecture 'i386' (GC OFF)
/Applications/Xcode.app/Contents/Developer/Tools/RunPlatformUnitTests.include:345: note: Completed tests for architectures 'i386'
When switching to the iOS 5.1 SDK, everything works fine.
This already happened with the DP 3 and DP4 versions of Xcode 4.5.
I assumed this would be fixed with the GM.
What should be changed to fix this problem?
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!