# iOS dSym files download or upload

**URL:** <https://discuss.bitrise.io/t/ios-dsym-files-download-or-upload/1395>\
**Category:** Question & Answer\
**Created:** [April 6, 2017, 9:25am UTC](https://discuss.bitrise.io/t/ios-dsym-files-download-or-upload/1395 "2017-04-06T09:25:02Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mxpbitrise](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@mxpbitrise](https://discuss.bitrise.io/u/mxpbitrise)\
**Post date:** [April 6, 2017, 9:25am UTC](https://discuss.bitrise.io/t/ios-dsym-files-download-or-upload/1395/1 "2017-04-06T09:25:02Z")

</div>

Hello,

Is there a possibility to download the dSym files generated in the Xamarin.Archive step?

$BITRISE\_DSYM\_PATH - The created iOS .dSYM.zip file’s path

OR

A step to upload dSym files to HockeyApp after the iOS build?

Any information regarding this would be very helpful

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [April 6, 2017, 9:35am UTC](https://discuss.bitrise.io/t/ios-dsym-files-download-or-upload/1395/2 "2017-04-06T09:35:46Z")

</div>

Do you have the **Deploy to [Bitrise.io](http://Bitrise.io)** step in your workflow?  
You can attach any file to the build with that -\> docs: [http://devcenter.bitrise.io/tips-and-tricks/attach-any-file-to-build/](http://devcenter.bitrise.io/tips-and-tricks/attach-any-file-to-build/)

---

<div class="post-metadata">

**Author:** ![mxpbitrise](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@mxpbitrise](https://discuss.bitrise.io/u/mxpbitrise)\
**Post date:** [April 6, 2017, 9:54am UTC](https://discuss.bitrise.io/t/ios-dsym-files-download-or-upload/1395/3 "2017-04-06T09:54:50Z")

</div>

Thanks for the quick response.

We haven’t configured a **Deploy to [Bitrise.io](http://Bitrise.io)** step yet.

# Exact situation:

1. We have an iOS application (bitcode is not enabled) and we would like to generate crash logs/stack trace for production version of the app.
2. For that we need to upload dSym files to HockeyApp(previously: Xamarin.Insights) to symbolicate the crash logs.
3. As the build and deploy to **TestFlight** is automated on Bitrise we would like to have functionality that enables us to Either
  - Download dSym files after the build (we upload them manually to **HockeyApp** )  
OR
  - Bitrise should upload the dSym directly to HockeyApp (may be a dedicated step?)

# From what I understood from your replay:

1. We should configure a **Deploy to [Bitrise.io](http://Bitrise.io)** step to deploy **$BITRISE\_DSYM\_PATH** to output which will be available in individual builds **Apps & Artifacts** section

Is that correct?  
Thanks in advance 🙂

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [April 6, 2017, 10:05am UTC](https://discuss.bitrise.io/t/ios-dsym-files-download-or-upload/1395/4 "2017-04-06T10:05:03Z")

</div>

> [@mxpbitrise](#):
>
> We should configure a Deploy to [Bitrise.io](http://Bitrise.io) step to deploy $BITRISE\_DSYM\_PATH to output which will be available in individual builds Apps & Artifacts section
> 
> Is that correct?

Usually it’s enough to just drop in the **Deploy to [Bitrise.io](http://Bitrise.io)** step, no config required.  
Tech details: the default config of the Deploy to [Bitrise.io](http://Bitrise.io) step is to deploy the content of the `$BITRISE_DEPLOY_DIR`, and our Xcode steps move the dSYM ZIP into that directory, so no additional config is required / you don’t have to specify the ipa path directly for deploy.

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [April 6, 2017, 10:08am UTC](https://discuss.bitrise.io/t/ios-dsym-files-download-or-upload/1395/5 "2017-04-06T10:08:35Z")

</div>

> [@mxpbitrise](#):
>
> As the build and deploy to TestFlight is automated on Bitrise we would like to have functionality that enables us to Either

For AppStore/iTunes Connect you have to download the dSYM from iTunes Connect. When you submit the app there, the Apple/iTunes Connect servers will “recompile” the app, and so the dSYM you originally get from Xcode during the build/archive won’t match with the IPA you (or any user) download from the AppStore/iTunes Connect. iTunes Connect provides the recompiled dSYMs, you should download it from there (you can download it from Xcode.app too).

That said, **if you have Bitcode disabled for the AppStore/iTunes Connect build** , then the dSYM generated during the build should be fine too, the things I described above (recompile on Apple servers) should only happen if Bitcode is enabled (which is the default).

---

<div class="post-metadata">

**Author:** ![mxpbitrise](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@mxpbitrise](https://discuss.bitrise.io/u/mxpbitrise)\
**Post date:** [April 6, 2017, 3:44pm UTC](https://discuss.bitrise.io/t/ios-dsym-files-download-or-upload/1395/6 "2017-04-06T15:44:35Z")

</div>

Thanks @viktorbenei,

The dSYM files are available to download as required.

---

<div class="post-metadata">

**Author:** ![fleetmode](https://avatars.discourse-cdn.com/v4/letter/f/858c86/32.png) [@fleetmode](https://discuss.bitrise.io/u/fleetmode)\
**Post date:** [September 10, 2018, 5:48pm UTC](https://discuss.bitrise.io/t/ios-dsym-files-download-or-upload/1395/7 "2018-09-10T17:48:23Z")

</div>

Hey victor. I enabled the Deploy step, but no artifacts are being uploaded anywhere… I do see on the logs that both the IPA and dSYMS are being generated, but the artifacts page is still empty… any ideas?

---

<div class="post-metadata">

**Author:** ![bitce](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/bitce/32/1639_2.png) [@bitce](https://discuss.bitrise.io/u/bitce)\
**Post date:** [September 11, 2018, 8:24am UTC](https://discuss.bitrise.io/t/ios-dsym-files-download-or-upload/1395/8 "2018-09-11T08:24:25Z")

</div>

Hi @fleetmode!

Could you send us a log file our a build URL to look into this for you? 🙂

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [October 11, 2018, 6:55pm UTC](https://discuss.bitrise.io/t/ios-dsym-files-download-or-upload/1395/9 "2018-10-11T18:55:09Z")

</div>

I’ll close this topic

@fleetmode please create a new topic if you’d need help with that issue, as it doesn’t seem to be related to the original question 🙂

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [October 11, 2018, 6:55pm UTC](https://discuss.bitrise.io/t/ios-dsym-files-download-or-upload/1395/10 "2018-10-11T18:55:12Z")

</div>


