title: Xcode, Parse Crash Reporting, dSYM file not created
body: <p>I have an iOS app, written in Swift in Xcode 6.2, using the Parse SDK 1.7.0. I've gone through the Parse Quick Start instructions for setting up crash reporting (including <code>ParseCrashReporting.enable()</code> in the AppDelegate), but it seems that my run script is having an issue. The error is: <code>App "/Users/ben/Library/Developer/Xcode/DerivedData/MyApp-ahydphsjgdgefbhcdodokcmofehe/Build/Products/Debug-iphonesimulator/MyApp.app.dSYM" wasn't found. Command /bin/sh failed with exit code 1</code>. </p>
  
  <p>According to this, it seems that Xcode is not creating the dSYM file. In my Build Settings > Build Options I have changed Debug Information Format to "DWARF with dSYM file" for both Debug and Release. (Previously, Debug was set to "DWARF")</p>
  
  <p>Should I change anything else in the Build Options?</p>
  
  <p>Also, could this be the issue? <code>export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO</code></p>
  
  <p>Here is my run script:</p>
  
  <pre><code>export PATH=/usr/local/bin:$PATH
  cd $PROJECT_DIR/parse
  
  parse symbols "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}"
  </code></pre>
  
  <p>Thank you in advance for any ideas about how to fix this.</p>
  
  <p><strong>Edit:</strong> Thanks to the answer from @udjat, I was able to run my app and run script (below) without the app crashing. And thanks to some bug fixes from Parse, the test crash reports are functioning now as well, though there is still a significant delay.</p>
  
  <p>New run script:</p>
  
  <pre><code>echo "Parse Crash Reporting"
  export PATH=/usr/local/bin:$PATH
  CLOUD_CODE_DIR=${PROJECT_DIR}/parse
  
  if [ -d ${CLOUD_CODE_DIR} ]; then
  cd ${CLOUD_CODE_DIR}
  parse symbols MyApp --path="${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}"
  echo "Finished uploading symbol"
  else
  echo "Unable to upload symbols"
  fi
  </code></pre>
  
  <p>Crash test in AppDelegate:</p>
  
  <pre><code>func crash() {
      NSException(name:NSGenericException, reason:"Everything is ok. This is just a test crash.", userInfo:nil).raise()
  }
  
  func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject : AnyObject]?) -&gt; Bool {
  
      ParseCrashReporting.enable()
  
      dispatch_after(
          dispatch_time(DISPATCH_TIME_NOW, Int64(5.0 * Double(NSEC_PER_SEC))),
          dispatch_get_main_queue(),
          { () -&gt; Void in
              self.crash()
      });
  }
  </code></pre>