title: Build in xcode via terminal, using the "build for profiler" settings
body: <p>Is there a way to specify to xcodebuild, to build a specific scheme/configuration?</p>
  
  <p>I have a project with multiple related projects; and when I want to build all, I just run it with "build for profiler", and it takes care to grab the right code, the right related projects in the solution and give me the resulting products compiled, and ready to be tested.</p>
  
  <p>I am trying to automate the process, so I can run it via console; altho I've found no documentation that specify how to build for specific settings that you have in Xcode UI, but using the console version (xcodebuild).</p>
  
  <p>I can build each project separately, and put all together by hand, but it is laborious and error prone; I would rather go for what Xcode does, but without using the UI at all.</p>
  
  <p>Not even sure if it is possible; any pointer is more than welcome. 
  Thanks!</p>