Xcode Command Line Tool (XCode 4.6) Run Unit Tests from terminal Xcode Command Line Tool (XCode 4.6) Run Unit Tests from terminal jenkins jenkins

Xcode Command Line Tool (XCode 4.6) Run Unit Tests from terminal


You could also upgrade to Xcode 5, which allows for the command:

xcodebuild test -scheme SomeTestScheme -destination "name=iPhone Retina (4-inch)"

Note: the destination parameter should match the visible name for the destination you want the test run on.