Try switching to good old xcodebuild.