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

Originator:bjhomer
Number:rdar://13361991 Date Originated:06-Mar-2013 03:14 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 4.6
Classification:Enhancement Reproducible:Always
 
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

Duped as rdar://13857060

Duped as rdar://13382025

Duped as rdar://13364730

Duped as rdar://13362336

By heath.borders at March 6, 2013, 10:36 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!