title: xcodebuild - setting build dir doesn't generate dSYM
body: <p>I am doing an archive with xcodebuild (xcode 5) through the command line as so: </p>
  
  <pre><code>xcodebuild -project MyProject.xcodeproj -scheme MyScheme -sdk iphoneos7.0 -configuration Release archive CODE_SIGN_IDENTITY="iPhone Distribution: My ID" -archivePath archive/MyArchive.xcarchive -xcconfig Config/MyReleaseConfig.xcconfig CONFIGURATION_BUILD_DIR=$SRCROOT/build/$CONFIGURATION$EFFECTIVE_PLATFORM_NAME
  </code></pre>
  
  <p>When I run this, I get my xcarchive generated and console output seems ok. However, when I explore the contents of the archive there is nothing under dSYM. Project settings are verified ok. If I run the same command as above BUT omit the <code>CONFIGURATION_BUILD_DIR</code> bit, I get the dSYM as expected. Do you know if there's a solution for this (i.e. should anything else be set). I want to have control over the build dir. </p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I've tried setting explicitly from command line (as opposed to in my scheme settings):</p>
  
  <pre><code>DEBUG_INFORMATION_FORMAT="dwarf-with-dsym"
  </code></pre>
  
  <p>and 
  pos-processing to YES. Still no joy.</p>
  
  <p>Thanks.</p>