Some commands I'm using from xcodebuild for possible future reference. If you don't know what you're doing, this probably isn't a good place to be because I don't either!
xcodebuild -scheme "Bose Connect" -workspace Monet.xcworkspace -configuration Debug clean build test -destination platform='iOS Simulator',name='iPhone 6'