`xcodebuild test` doesn't work for iOS simulator builds

Originator:tony
Number:rdar://13364730 Date Originated:07-Mar-2013 12:44 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 4.6
Classification:Other Bug Reproducible:Always
 
This is a duplicate of rdar://13361991

Summary:
The `xcodebuild test` command doesn't work for iOS targets. You can use TEST_AFTER_BUILD=YES to run logic tests from the terminal, but this doesn't work for Application-hosted tests. There are horrible workarounds for this floating around on the internet, most of which involve modifying iPhoneSimulator.platform/Developer/Tools/RunPlatformUnitTests, in varying fragile and incompatible ways.

I just want to be able to run my application tests automatically on the build server. Please make this possible. And then show it off at WWDC so everyone will know about the right way to do things.

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!