title: Error invalid architecture 'arm' when app from command line + iOS
body: <p>I want to build an iOS app from command line with iOS simulator. </p>
  
  <pre><code>The build settings are:
  1. Architectures - armv7
  2. Base SDK - Latest IOS(6.1)
  3. Build Active Architecture only - yes
  4. Valid architectures - armv7 (also tried adding i386)
  5. IOS deployment target - IOS 4.3
  </code></pre>
  
  <p>I am executing the following command:</p>
  
  <pre><code>xcodebuild -target splistapp2 -sdk iphonesimulator6.1 -configuration Release (also tried with  -arch "i836")
  </code></pre>
  
  <p>But this command gives following error:</p>
  
  <pre><code>invalid architecture 'arm' for deployment target '-mios-simulator-version-min=4.2'
  </code></pre>
  
  <p>What could be the problem?</p>