title: Error building iOS workspace from terminal
body: <p>I'm having problems building an iOS app from the terminal. I'm following the xcodebuild -h help but I can't make it work... I've been googling a lot the errors I'm getting but can't find an answer to this...</p>
  
  <p>This is what I'm doing:</p>
  
  <p>xcodebuild -workspace AppName.xcworkspace -scheme 'Integration Tests'  -configuration Debug</p>
  
  <p>And the error I'm getting is:</p>
  
  <pre><code>The following build commands failed:
  ProcessPCH /Users/UserName/Library/Developer/Xcode/DerivedData/AppName/Build/PrecompiledHeaders/AppName-Prefix/AppName-Prefix.pch.pth AppName/AppName-Prefix.pch normal armv6 objective-c com.apple.compilers.llvm.clang.1_0.compiler
  ProcessPCH /Users/UserName/Library/Developer/Xcode/DerivedData/AppName/Build/PrecompiledHeaders/AppName-Prefix/AppName-Prefix.pch.pth AppName/AppName-Prefix.pch normal armv6 objective-c com.apple.compilers.llvm.clang.1_0.compiler
  (2 failures)
  </code></pre>
  
  <p>I can't find whats failing, using xCode I do can compile and run this app without problem... Any idea in whats happening?</p>
  
  <p>Thanks!</p>