Xcode 4: Run tests from the command line (xcodebuild)?
Important Note With Xcode 5.1 (perhaps earlier Xcode as well) test is a valid build action. We were able to replace the entire hack below with a call to xcodebuild using the build action of test and with appropriate -destination options. man xcodebuild for more info. The information below is left here for posterity I … Read more