How do I specify to xcodebuild (the command line tool) whether I want to build for the simulator or device?
xcodebuild