3

I was able to download dSYMs from App Store & TestFlight before:

enter image description here

I'm not sure what was changed in the project file, but in the next build, the button to download dSYMs is not there anymore:

enter image description here

I checked my project settings, and it looks like I do have dSYMs enabled. I'm not sure what else to change in my project settings to be able to download it from TestFlight again:

enter image description here

Phil Dukhov
  • 67,741
  • 15
  • 184
  • 220
Isiah
  • 95
  • 1
  • 7
  • Check the git history of your project? There might be a clue there? Also, when archiving/uploading the app, did you checked/unchecked some things? There are there a few options concerning the dSyms – Larme Oct 27 '21 at 14:51
  • There is a discussion about this issue in apple dev forum but no solution was provided. Not yet. https://developer.apple.com/forums/thread/114655?page=2 – cristallo Oct 27 '21 at 15:21
  • Did you recently change the Enable Bitcode value? – cristallo Oct 27 '21 at 15:30

2 Answers2

2

Probably the symbols are already properly loaded but you are not able to download them.

There is a discussion about this issue in apple dev forum but no solution was provided. Not yet. developer.apple.com/forums/thread/114655?page=2

It could be an Apple side issue but in the meantime you can use the dSYMs files on your local build machine.

When the Bitcode is disabled no Apple side recompilation has performed so the correct symbols can be found on local machine used for the build.

Xcode->Window->Organizer->Archives

Right click your build -> show in finder

Right click Your xcarchive file -> Select "Show Package Contents"

you should be able to find here the dSYMs folder

Some people say that if you don't have bitcode enabled, Apple will merely show, "includes symbols: Yes" without the Download link.

Some others say that they have to use Xcode's Organiser and click the "Download dSYM" which didn't give an error, but apparently did nothing (no files appeared anywhere??), but then in iTunesConnect, the blue link appeared next to "Includes Symbols Yes".

interesting discussion about it here

About Crashlytics: when building apps without bitcode, Crashlytics provides an upload-symbols tool that uploads your app’s dSYM local files every time that you need them for your app. However, for apps with bitcode enabled, the process of uploading dSYMs isn’t so simple. Instead, you need to download updated dSYMs from Apple and upload them to Crashlytics each time you submit a new version of the app to App Store Connect.

cristallo
  • 1,951
  • 2
  • 25
  • 42
  • 1
    Yes! We've updated the "Enable bitcode" from YES to NO because one of our dependencies has it turned off. I was researching how to turn on dysms, but I couldn't find the relationship of bitcode with dysms. I've already gone to "Show Package Contents" and uploaded dysms to crashlytics, but there are still some that are missing. I don't think this folder contains all dysms unlike testflight. That's why I'd like to bring the download button back in testflight. – Isiah Oct 27 '21 at 17:37
  • If Bitcode is disabled then for sure the all the symbols related to your compilation are present in your local xarchive. Are you sure that you are uploading the right version of the symbols? Are you sure that you are uploading the dSYMs to Firebase in the proper way? Are you sure that the crash is not related to a precompiled library? – cristallo Oct 28 '21 at 07:17
  • Just to let you know: Bitcode is strictly related to the symbols generation. if you enable bitcode then the only right symbols are present on Apple connect server and your local dSYMs are not so useful. On the other hand if bit code is disabled the local and the server side symbols should be exactly the same. – cristallo Oct 28 '21 at 07:22
1

For all Xcode 14 users: there is no need for that dSYM button since bitcode was deprecated in Xcode 14. Starting with Xcode 14, bitcode is no longer required for watchOS and tvOS applications, and the App Store no longer accepts bitcode submissions from Xcode 14.

Download Xcode 13.4.1 (Link-Source: [1]), update your project settings and upload again.

Release notes:

Deprecations Starting with Xcode 14, bitcode is no longer required for watchOS and tvOS applications, and the App Store no longer accepts bitcode submissions from Xcode 14. Xcode no longer builds bitcode by default and generates a warning message if a project explicitly enables bitcode: “Building with bitcode is deprecated. Please update your project and/or target settings to disable bitcode.” The capability to build with bitcode will be removed in a future Xcode release. IPAs that contain bitcode will have the bitcode stripped before being submitted to the App Store. Debug symbols for past bitcode submissions remain available for download. (86118779)

FrugalResolution
  • 568
  • 4
  • 18