xctool is a replacement for Apple's xcodebuild that makes it easier to build and test iOS and Mac projects.
I'm using xctool (v0.1.16) for an iOS project, which is configured as follows: a workspace two targets Project and ProjectTests …
ios xcodebuild xctool