Xcode - There are no dSYMs available for download

大兔子大兔子 提交于 2019-11-26 15:13:27

问题


I want to extract the dSYM file from but when I click on "Download dSYMs..." in the Organizer I get the follow message: "There are no dSYMs available for download.".

I'm using Xcode 7.2 with a workspace generated by Cocoapods 0.39.

How can I get them?


回答1:


NON-BITCODE

Here's a GIF on how to get DSYMS, compress and upload to crashlytics/fabric

  1. Press Window > Organizer
  2. Right-click on your app> Show in Finder
  3. Right-click on first .xcarchive file > Show package contents

BITCODE ENABLED

You'll need to download dsyms from appStore connect. The easiest would be to use fastlane

lane :refresh_dsyms do
    download_dsyms                  # Download dSYM files from iTC
    upload_symbols_to_crashlytics   # Upload them to Crashlytics
    clean_build_artifacts           # Delete the local dSYM files
end



回答2:


I think @Jordan is correct--it seems that iTunes Connect is recompiling apps with bitcode so that the UUID changes, and the dSYM inside the .xcarchive can't actually be used to symbolicate the app (this appears to be a new development).

You can download the correct dSYM from iTunes Connect. Login, go to My Apps, select your app, then tap on the Activity tab at the top. Tap on the relevant build, and, assuming the app was submitted with symbols in the first place, you should see the option to "Download dSYM."

The file you get is called dSYMs (without an extension) but it is in fact a zip file. Add the .zip extension, unzip, and you'll find your dSYM(s) inside.

(I needed to do this this week since Crashlytics was complaining about a missing dSYM.)




回答3:


Actually you can't download dSYM file from iTunesConnect now. There is another way to get that file.

Xcode -> Window -> Organizer -> Show xcarchive file in Finder -> Right Click Your xcarchive file -> Select "Show Package Contents"

You can see your dSYM file now.




回答4:


bitcode must be enabled

if you want to get your dSYM from iTunesConnect

  • Build Settings > Build Options > Enable Bitcode > YES
  • Select device "Generic iOS Device" (or anything that works)
  • Archive

When exporting from archive

  • CHECK "include app symbols for your application to receive symbolicated crash logs from Apple"
  • CHECK "include bitcode"

Upload using Application Loader

Once your app has been successfully uploaded to iTunesConnect you can go to iTunesConnect.com > MyApps > [YOUR APP] > Activity > All Builds > [YOUR BUILD] > General Information > Includes Symbols > Download dSYM

#xcode8.2.1 #osx10.12.6




回答5:


I've found a solution from https://twittercommunity.com/t/not-matching-uuid-bitcode/61000/2

"Crashlytics was reporting missing dSYMs with UUID looking like this: 83889b11dedd363c8e5ee56233bcc90c. As I said, I followed the guide7 but I couldn't find that UUID. So I went in the iTunesConnect and I did the following:

  • Select the app
  • Choose the Activity tab on top
  • Select the build version Crashlytics is complaining about
  • Click the Download dSYM blue link

The downloaded file is called dSYM has no extension but it is actually a zip. So I added the zip extension and unzipped it. Inside the unzipped folder I found many dSYM files, one on which has called 83889B11-DEDD-363C-8E5E-E56233BCC90C.dSYM which matched the UUID Crashlytics was reporting as missing (even if formatted in a different way). Note also that this file is not inside the xcarchive.

Hope it can help!"

in my case, it works like charms




回答6:


In my case, I could not find a dSYM file of my app in the Archives folder. If you face this, go to your Project Build Settings > Build Options > Debug Information Format and make sure it is set to DWARF with dSYM file




回答7:


If dSYMs folder in package contents is empty (Ted's answer), try to check:

  • Build Settings > Build Options > Enable Bitcode is set to YES (Jacksonkr's answer)
  • Build Settings > Build Options > Debug Information Format is set to DWARF with dSYM file (daisura99's answer)

Please check them both.

Then in show package contents -> dSYMs folder, this time, you should find something.

In my case, it worked.



来源:https://stackoverflow.com/questions/35159244/xcode-there-are-no-dsyms-available-for-download

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!